| Index: chrome/browser/google/google_util.h
|
| diff --git a/chrome/browser/google/google_util.h b/chrome/browser/google/google_util.h
|
| index ea49f360df489d7ef2a67a6165d320e0cdc22ea3..96526a9ed4811efa6f59b1133ee67635206bc764 100644
|
| --- a/chrome/browser/google/google_util.h
|
| +++ b/chrome/browser/google/google_util.h
|
| @@ -11,6 +11,10 @@
|
|
|
| #include "base/basictypes.h"
|
|
|
| +namespace content {
|
| +class NavigationEntry;
|
| +}
|
| +
|
| class GURL;
|
| class Profile;
|
|
|
| @@ -49,6 +53,11 @@ bool GetBrand(std::string* brand);
|
| // install. Returns false if the information is not available.
|
| bool GetReactivationBrand(std::string* brand);
|
|
|
| +// Returns true iff |entry| represents a Google search from the Omnibox.
|
| +// This method assumes that we have already verified that |entry|'s URL is a
|
| +// Google search URL.
|
| +bool IsOmniboxGoogleSearchNavigation(const content::NavigationEntry& entry);
|
| +
|
| // 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
|
|
|