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

Unified Diff: content/public/common/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
« no previous file with comments | « content/common/url_schemes.cc ('k') | extensions/shell/common/shell_content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 89887e054c2e032a623eb7801584a63401e13d5b..94d8d7d23576e69b37e5c3c579bc8790cf57e86f 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -15,6 +15,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "ui/base/layout.h"
+#include "url/url_util.h"
class GURL;
@@ -89,7 +90,7 @@ class CONTENT_EXPORT ContentClient {
// Gives the embedder a chance to register its own standard and saveable
// url schemes early on in the startup sequence.
virtual void AddAdditionalSchemes(
- std::vector<std::string>* standard_schemes,
+ std::vector<url::SchemeWithType>* standard_schemes,
std::vector<std::string>* savable_schemes) {}
// Returns whether the given message should be sent in a swapped out renderer.
« no previous file with comments | « content/common/url_schemes.cc ('k') | extensions/shell/common/shell_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698