| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 4dd626e7914dd439ed863765d9a955c1fc54f611..45056271e932b9d16b6688343186fa795018367e 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -216,11 +216,15 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // Returns a list additional WebUI schemes, if any. These additional schemes
|
| // act as aliases to the chrome: scheme. The additional schemes may or may
|
| // not serve specific WebUI pages depending on the particular URLDataSource
|
| - // and its override of URLDataSource::ShouldServiceRequest. For all schemes
|
| - // returned here, view-source is allowed.
|
| + // and its override of URLDataSource::ShouldServiceRequest.
|
| virtual void GetAdditionalWebUISchemes(
|
| std::vector<std::string>* additional_schemes) {}
|
|
|
| + // Returns a list of additional schemes allowed for view-source. Defaults to
|
| + // the list of WebUI schemes returned by GetAdditionalWebUISchemes.
|
| + virtual void GetAdditionalViewSourceSchemes(
|
| + std::vector<std::string>* additional_schemes);
|
| +
|
| // Called when WebUI objects are created to get aggregate usage data (i.e. is
|
| // chrome://downloads used more than chrome://bookmarks?). Only internal (e.g.
|
| // chrome://) URLs are logged. Returns whether the URL was actually logged.
|
|
|