| Index: chrome/browser/browser_url_handler.h
|
| diff --git a/chrome/browser/browser_url_handler.h b/chrome/browser/browser_url_handler.h
|
| index 8200c8ab9411b10dff4a07408aef2bddba4d7574..593408e4402c7687dba57edcf3abb2acfb428247 100644
|
| --- a/chrome/browser/browser_url_handler.h
|
| +++ b/chrome/browser/browser_url_handler.h
|
| @@ -15,6 +15,7 @@
|
| #include <vector>
|
|
|
| class GURL;
|
| +class Profile;
|
|
|
| // BrowserURLHandler manages the list of all special URLs and manages
|
| // dispatching the URL handling to registered handlers.
|
| @@ -26,11 +27,11 @@ class BrowserURLHandler {
|
| // - optionally set |dispatcher| to the necessary DOMMessageDispatcher
|
| // - return true.
|
| // If the URL is not handled by a handler, it should return false.
|
| - typedef bool (*URLHandler)(GURL* url);
|
| + typedef bool (*URLHandler)(GURL* url, Profile* profile);
|
|
|
| // HandleBrowserURL gives all registered URLHandlers a shot at processing
|
| // the given URL, and modifies it in place.
|
| - static void RewriteURLIfNecessary(GURL* url);
|
| + static void RewriteURLIfNecessary(GURL* url, Profile* profile);
|
|
|
| // We initialize the list of url_handlers_ lazily the first time MaybeHandle
|
| // is called.
|
|
|