Index: chrome/browser/google/google_util.h |
diff --git a/chrome/browser/google/google_util.h b/chrome/browser/google/google_util.h |
index e92c2fb2ccc52a25b2ca649eef4870c5e3a0268a..faad9d423555bb0fe3d3a8b7f9d537ac9d69a90f 100644 |
--- a/chrome/browser/google/google_util.h |
+++ b/chrome/browser/google/google_util.h |
@@ -9,7 +9,8 @@ |
#include <string> |
-#include <base/basictypes.h> |
+#include "base/basictypes.h" |
+#include "base/string16.h" |
class GURL; |
class Profile; |
@@ -40,6 +41,9 @@ bool GetBrand(std::string* brand); |
// install. Returns false if the information is not available. |
bool GetReactivationBrand(std::string* brand); |
+// Returns in the search terms used to create the Google search URL |url|. |
+string16 GetSearchTermsFromGoogleSearchURL(const std::string& url); |
+ |
// WARNING: The following IsGoogleXXX() functions use heuristics to rule out |
// "obviously false" answers. They do NOT guarantee that the string in question |
// is actually on a Google-owned domain, just that it looks plausible. If you |