diff options
author | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 18:32:28 +0000 |
---|---|---|
committer | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 18:32:28 +0000 |
commit | 6847ed64c92231392ef79db0c1c1ce7349f93948 (patch) | |
tree | d4ac69e279724ba1cef383820b5b609a42000ef8 /chrome/common/net/url_util.h | |
parent | 826012343fb2a661c7dda67f078b89fcf536e22b (diff) | |
download | chromium_src-6847ed64c92231392ef79db0c1c1ce7349f93948.zip chromium_src-6847ed64c92231392ef79db0c1c1ce7349f93948.tar.gz chromium_src-6847ed64c92231392ef79db0c1c1ce7349f93948.tar.bz2 |
Update GAIA URL to accounts.google.com/... from www.google.com/accounts/...
BUG=127147
TEST=all serivices dependent on GAIA auth should still work (sync, login, policy, drive...)
Review URL: https://chromiumcodereview.appspot.com/10382077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/net/url_util.h')
-rw-r--r-- | chrome/common/net/url_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/net/url_util.h b/chrome/common/net/url_util.h index c801d40..0f03916 100644 --- a/chrome/common/net/url_util.h +++ b/chrome/common/net/url_util.h @@ -52,6 +52,13 @@ GURL AppendOrReplaceQueryParameter(const GURL& url, const std::string& name, const std::string& value); +// Looks for |search_key| in the query portion of |url|. Returns true if the +// key is found and sets |out_value| to the unescaped value for the key. +// Returns false if the key is not found. +bool GetValueForKeyInQuery(const GURL& url, + const std::string& search_key, + std::string* out_value); + } // namespace chrome_common_net #endif // CHROME_COMMON_NET_URL_UTIL_H_ |