diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 18:01:49 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 18:01:49 +0000 |
commit | 04307e0c502a22c7c07d8bdfd2a8209de64f197b (patch) | |
tree | 47be3bb8174b85f2ae2d21e3bcd89a965c76936e /remoting/host | |
parent | d13e288993386e917a708238f062988fdf2d0ef0 (diff) | |
download | chromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.zip chromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.tar.gz chromium_src-04307e0c502a22c7c07d8bdfd2a8209de64f197b.tar.bz2 |
Renamed namespaces of url lib.
url_util -> url
url_parse -> url
url_canon -> url
BUG=364747
TBR=atwilson,battre
Review URL: https://codereview.chromium.org/262593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/setup/oauth_helper.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/remoting/host/setup/oauth_helper.cc b/remoting/host/setup/oauth_helper.cc index 7746df1..65f06bc 100644 --- a/remoting/host/setup/oauth_helper.cc +++ b/remoting/host/setup/oauth_helper.cc @@ -12,7 +12,7 @@ namespace { std::string GetComponent(const std::string& url, - const url_parse::Component component) { + const url::Component component) { if (component.len < 0) { return std::string(); } @@ -53,9 +53,9 @@ std::string GetOauthStartUrl(const std::string& redirect_url) { std::string GetOauthCodeInUrl(const std::string& url, const std::string& redirect_url) { - url_parse::Parsed url_parsed; + url::Parsed url_parsed; ParseStandardURL(url.c_str(), url.length(), &url_parsed); - url_parse::Parsed redirect_url_parsed; + url::Parsed redirect_url_parsed; ParseStandardURL(redirect_url.c_str(), redirect_url.length(), &redirect_url_parsed); if (GetComponent(url, url_parsed.scheme) != @@ -66,9 +66,9 @@ std::string GetOauthCodeInUrl(const std::string& url, GetComponent(redirect_url, redirect_url_parsed.host)) { return std::string(); } - url_parse::Component query = url_parsed.query; - url_parse::Component key; - url_parse::Component value; + url::Component query = url_parsed.query; + url::Component key; + url::Component value; while (ExtractQueryKeyValue(url.c_str(), &query, &key, &value)) { if (GetComponent(url, key) == "code") { return GetComponent(url, value); |