summaryrefslogtreecommitdiff
path: root/chromium/content/browser/web_contents/debug_urls.h
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/content/browser/web_contents/debug_urls.h
downloadqtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz
Initial import.
Diffstat (limited to 'chromium/content/browser/web_contents/debug_urls.h')
-rw-r--r--chromium/content/browser/web_contents/debug_urls.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/content/browser/web_contents/debug_urls.h b/chromium/content/browser/web_contents/debug_urls.h
new file mode 100644
index 00000000000..79da209c53a
--- /dev/null
+++ b/chromium/content/browser/web_contents/debug_urls.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_
+#define CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_
+
+#include "content/public/common/page_transition_types.h"
+
+class GURL;
+
+namespace content {
+
+// Checks if the given url is a url used for debugging purposes, and if so
+// handles it and returns true.
+bool HandleDebugURL(const GURL& url, PageTransition transition);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_