Chromium Code Reviews| Index: chrome/common/chrome_content_client.cc |
| =================================================================== |
| --- chrome/common/chrome_content_client.cc (revision 132480) |
| +++ chrome/common/chrome_content_client.cc (working copy) |
| @@ -18,6 +18,7 @@ |
| #include "chrome/common/chrome_switches.h" |
| #include "chrome/common/chrome_version_info.h" |
| #include "chrome/common/render_messages.h" |
| +#include "chrome/common/url_constants.h" |
| #include "content/public/common/pepper_plugin_info.h" |
| #include "content/public/common/url_constants.h" |
| #include "grit/common_resources.h" |
| @@ -347,6 +348,16 @@ |
| webkit::npapi::PluginList* plugin_list) { |
| } |
| +void ChromeContentClient::AddAdditionalSchemes( |
|
michaeln
2012/04/17 19:23:32
Also hoisted this method body up from now deleted
|
| + std::vector<std::string>* standard_schemes, |
| + std::vector<std::string>* savable_schemes) { |
| + standard_schemes->push_back(kExtensionScheme); |
| + savable_schemes->push_back(kExtensionScheme); |
| +#if defined(OS_CHROMEOS) |
| + standard_schemes->push_back(kCrosScheme); |
| +#endif |
| +} |
| + |
| bool ChromeContentClient::HasWebUIScheme(const GURL& url) const { |
| return url.SchemeIs(chrome::kChromeDevToolsScheme) || |
| url.SchemeIs(chrome::kChromeInternalScheme) || |