From 3e0f7d520ae052fa4f092d75e61ca3605109f44f Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Fri, 18 Jun 2010 04:09:14 +0000 Subject: 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 --- chrome/renderer/about_handler.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'chrome/renderer/about_handler.h') 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(); -- cgit v1.1