diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 04:09:14 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 04:09:14 +0000 |
commit | 3e0f7d520ae052fa4f092d75e61ca3605109f44f (patch) | |
tree | 8272de51d40a9f8ca4e6d3ab94e34fa20693669e /chrome/renderer/about_handler.h | |
parent | 5ed60cdb3f706f8e033d67d5f4e3b4663fa7630d (diff) | |
download | chromium_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.h | 7 |
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(); |