diff options
author | sungmann.cho@navercorp.com <sungmann.cho@navercorp.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 15:31:19 +0000 |
---|---|---|
committer | sungmann.cho@navercorp.com <sungmann.cho@navercorp.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 15:31:19 +0000 |
commit | e8ca69c873f105a8c7778476e12f0a24ee3ba4d7 (patch) | |
tree | 00c728d6dde60d70e4b63aaadf3b6763b3d0e6ec /chrome/common/search_urls.cc | |
parent | af45603ceec5270899b4f7518a219715c58fbcd7 (diff) | |
download | chromium_src-e8ca69c873f105a8c7778476e12f0a24ee3ba4d7.zip chromium_src-e8ca69c873f105a8c7778476e12f0a24ee3ba4d7.tar.gz chromium_src-e8ca69c873f105a8c7778476e12f0a24ee3ba4d7.tar.bz2 |
Move some content url constants to /url.
This CL moves the content::kHttpScheme and content::kHttpsScheme to /url.
This is a follow up to https://codereview.chromium.org/25533005.
BUG=306258
TEST=compile
Review URL: https://codereview.chromium.org/254763005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/search_urls.cc')
-rw-r--r-- | chrome/common/search_urls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/search_urls.cc b/chrome/common/search_urls.cc index 9856842..b1277b6 100644 --- a/chrome/common/search_urls.cc +++ b/chrome/common/search_urls.cc @@ -14,8 +14,8 @@ bool MatchesOrigin(const GURL& my_url, const GURL& other_url) { return my_url.host() == other_url.host() && my_url.port() == other_url.port() && (my_url.scheme() == other_url.scheme() || - (my_url.SchemeIs(content::kHttpsScheme) && - other_url.SchemeIs(content::kHttpScheme))); + (my_url.SchemeIs(url::kHttpsScheme) && + other_url.SchemeIs(url::kHttpScheme))); } } // namespace |