Chromium Code Reviews| 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 1f6e4e20df3f0ac1aa99a53111d2cb918ac65cc2..82c9a1223b5af6c69bdcd351e780823f230d2bc4 100644 |
| --- a/chrome/browser/net/browser_url_util.h |
| +++ b/chrome/browser/net/browser_url_util.h |
| @@ -35,6 +35,12 @@ GURL AppendQueryParameter(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); |
|
wtc
2012/01/21 01:42:41
The Style Guide recommends listing one parameter p
xiyuan
2012/01/21 16:48:42
Done.
|
| + |
| } // namespace chrome_browser_net |
| #endif // CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_ |