| Index: chrome/browser/browser_about_handler.h
|
| diff --git a/chrome/browser/browser_about_handler.h b/chrome/browser/browser_about_handler.h
|
| index be273eef3d18be32f6f1c8cfe4ede1bf49fca244..c496beb8a00288295a9aa617d4e008ef6b623905 100644
|
| --- a/chrome/browser/browser_about_handler.h
|
| +++ b/chrome/browser/browser_about_handler.h
|
| @@ -19,13 +19,18 @@ template <typename T> struct DefaultSingletonTraits;
|
| class GURL;
|
| class Profile;
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| // Register a data source for a known source name. Safe to call multiple times.
|
| // |name| may be an unkown host (e.g. "chrome://foo/"); only handle known hosts.
|
| // In general case WillHandleBrowserAboutURL will initialize all data sources.
|
| // But in some case like navigating to chrome://oobe on boot and loading
|
| // chrome://terms in an iframe there, kChromeUITermsHost data source needs to
|
| // be initialized separately.
|
| -void InitializeAboutDataSource(const std::string& name, Profile* profile);
|
| +void InitializeAboutDataSource(const std::string& name,
|
| + content::BrowserContext* browser_context);
|
|
|
| // Returns true if the given URL will be handled by the browser about handler.
|
| // |url| should have been processed by URLFixerUpper::FixupURL, which replaces
|
| @@ -33,7 +38,8 @@ void InitializeAboutDataSource(const std::string& name, Profile* profile);
|
| // Some |url| host values will be replaced with their respective redirects.
|
| //
|
| // This is used by BrowserURLHandler.
|
| -bool WillHandleBrowserAboutURL(GURL* url, Profile* profile);
|
| +bool WillHandleBrowserAboutURL(GURL* url,
|
| + content::BrowserContext* browser_context);
|
|
|
| // We have a few magic commands that don't cause navigations, but rather pop up
|
| // dialogs. This function handles those cases, and returns true if so. In this
|
|
|