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

Unified Diff: chrome/browser/net/browser_url_util.h

Issue 10382077: Update all GAIA URLs to accounts.google.com/... from www.google.com/accounts/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: chrome/browser/net/browser_url_util.h
diff --git a/chrome/browser/net/browser_url_util.h b/chrome/browser/net/browser_url_util.h
index 2669c27c288cf4245635d95e7b996a1e582c1204..ba55269c03851272a2d337c16e26508f055a6583 100644
--- a/chrome/browser/net/browser_url_util.h
+++ b/chrome/browser/net/browser_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_browser_net
#endif // CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698