summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/about_handler.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 04:09:14 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-18 04:09:14 +0000
commit3e0f7d520ae052fa4f092d75e61ca3605109f44f (patch)
tree8272de51d40a9f8ca4e6d3ab94e34fa20693669e /chrome/renderer/about_handler.h
parent5ed60cdb3f706f8e033d67d5f4e3b4663fa7630d (diff)
downloadchromium_src-3e0f7d520ae052fa4f092d75e61ca3605109f44f.zip
chromium_src-3e0f7d520ae052fa4f092d75e61ca3605109f44f.tar.gz
chromium_src-3e0f7d520ae052fa4f092d75e61ca3605109f44f.tar.bz2
Split part of about_handler into chrome/common to break the browser-renderer dependency.
BUG=46666 TEST=none Review URL: http://codereview.chromium.org/2814012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/about_handler.h')
-rw-r--r--chrome/renderer/about_handler.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/renderer/about_handler.h b/chrome/renderer/about_handler.h
index 3c811b3..270b4b1 100644
--- a/chrome/renderer/about_handler.h
+++ b/chrome/renderer/about_handler.h
@@ -20,10 +20,6 @@ class AboutHandler {
// true if the URL was handled.
static bool MaybeHandle(const GURL& url);
- // Returns true if the URL is one that this AboutHandler will handle when
- // MaybeHandle is called.
- static bool WillHandle(const GURL& url);
-
// Induces a renderer crash.
static void AboutCrash();
@@ -33,6 +29,9 @@ class AboutHandler {
// Induces a brief (20 second) hang to make sure hang monitors go away.
static void AboutShortHang();
+ // Returns the size of |about_urls_handlers|. Used for testing only.
+ static size_t AboutURLHandlerSize();
+
private:
AboutHandler();
~AboutHandler();