Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2069)

Unified Diff: chrome/common/chrome_content_client.h

Issue 1272113002: Allow url::SchemeHostPort to hold non-file scheme without port (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_content_client.h
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index 0b5d516432e67db30ce825de69282c4f720d34ae..dab975b6489afcc314ca8a876dd3210fe01b80a2 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -16,6 +16,8 @@
#include "content/public/common/pepper_plugin_info.h"
#endif
+#include "url/url_util.h"
+
// Returns the user agent of Chrome.
std::string GetUserAgent();
@@ -54,7 +56,7 @@ class ChromeContentClient : public content::ContentClient {
void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) override;
- void AddAdditionalSchemes(std::vector<std::string>* standard_schemes,
+ void AddAdditionalSchemes(std::vector<url::SchemeWithType>* standard_schemes,
std::vector<std::string>* saveable_shemes) override;
std::string GetProduct() const override;
std::string GetUserAgent() const override;
« no previous file with comments | « chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698