diff options
author | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 09:44:24 +0000 |
---|---|---|
committer | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 09:44:24 +0000 |
commit | fb4fe095b612f8039e63c62cc87bfeacb5966cde (patch) | |
tree | d8ffb6f6d0dcd0710c18535cb3bba7422fe43ca2 /url | |
parent | 46e8bf650a4625a34a7b5ba76db7c3716f1a2f1d (diff) | |
download | chromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.zip chromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.tar.gz chromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.tar.bz2 |
Move kStandardSchemeSeparator from //content to //url
This constant is used in code shared by iOS, and is general enough to be placed
in //url.
TBR=benm,yoz
Review URL: https://codereview.chromium.org/319613002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r-- | url/url_constants.cc | 2 | ||||
-rw-r--r-- | url/url_constants.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/url/url_constants.cc b/url/url_constants.cc index ae58a05..7eac658 100644 --- a/url/url_constants.cc +++ b/url/url_constants.cc @@ -18,4 +18,6 @@ const char kMailToScheme[] = "mailto"; const char kWsScheme[] = "ws"; const char kWssScheme[] = "wss"; +const char kStandardSchemeSeparator[] = "://"; + } // namespace url diff --git a/url/url_constants.h b/url/url_constants.h index 07c454c..055208a 100644 --- a/url/url_constants.h +++ b/url/url_constants.h @@ -21,6 +21,9 @@ URL_EXPORT extern const char kMailToScheme[]; URL_EXPORT extern const char kWsScheme[]; URL_EXPORT extern const char kWssScheme[]; +// Used to separate a standard scheme and the hostname: "://". +URL_EXPORT extern const char kStandardSchemeSeparator[]; + } // namespace url #endif // URL_URL_CONSTANTS_H_ |