Index: chrome/common/net/url_util.h |
diff --git a/chrome/common/net/url_util.h b/chrome/common/net/url_util.h |
index c801d40669bbc979da61ebe46092a17d323a5f98..0f039168e2ae07fa17855cda5e888132e97386a1 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_ |