Index: chrome/browser/google/google_util.h |
diff --git a/chrome/browser/google/google_util.h b/chrome/browser/google/google_util.h |
index 8037ebde07a8f4e5294a0e7667b84465ad686b7a..6e2addb7384cc5966c37212d3363697c32198a97 100644 |
--- a/chrome/browser/google/google_util.h |
+++ b/chrome/browser/google/google_util.h |
@@ -10,9 +10,14 @@ |
#include <string> |
#include "base/basictypes.h" |
+#include "components/google/core/browser/google_search_metrics.h" |
class GURL; |
+namespace content { |
+class NavigationEntry; |
+} |
+ |
// This namespace provides various helpers around handling Google-related URLs. |
namespace google_util { |
@@ -109,6 +114,12 @@ bool IsYoutubeDomainUrl(const GURL& url, |
SubdomainPermission subdomain_permission, |
PortPermission port_permission); |
+// Returns the Google search access point for the given |entry|. This method |
+// assumes that we have already verified that |entry|'s URL is a Google search |
+// URL. |
+GoogleSearchMetrics::AccessPoint GetGoogleSearchAccessPointForSearchNavEntry( |
+ const content::NavigationEntry& entry); |
+ |
} // namespace google_util |
#endif // CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_H__ |