Chromium Code Reviews| Index: components/dom_distiller/core/url_utils.h |
| diff --git a/components/dom_distiller/core/url_utils.h b/components/dom_distiller/core/url_utils.h |
| index 4dc73b39d88e82ef2661303b4b3e138c4662228e..cebf5d5ef1fdbac586f0cafb595cc95117c52f0e 100644 |
| --- a/components/dom_distiller/core/url_utils.h |
| +++ b/components/dom_distiller/core/url_utils.h |
| @@ -21,6 +21,9 @@ const GURL GetDistillerViewUrlFromEntryId(const std::string& scheme, |
| const GURL GetDistillerViewUrlFromUrl(const std::string& scheme, |
| const GURL& view_url); |
| +// Returns the value of the query parameter for a given URL. |
|
nyquist
2014/08/13 20:09:11
Add "value for the given |key|" after "query param
sunangel
2014/08/13 21:49:33
Did not do this word for word because that didn't
|
| +std::string GetValueForKeyInUrl(const GURL& url, const std::string& key); |
| + |
| // Returns the value of the query parameter for the given path. |
| std::string GetValueForKeyInUrlPathQuery(const std::string& path, |
| const std::string& key); |