Index: chrome/browser/search/most_visited_iframe_source.h |
diff --git a/chrome/browser/search/most_visited_iframe_source.h b/chrome/browser/search/most_visited_iframe_source.h |
index 7344cc82724f920054e914ea0979733c0f9cd663..b6747e6c9dadf250b4a1a589b60db9db49c04b16 100644 |
--- a/chrome/browser/search/most_visited_iframe_source.h |
+++ b/chrome/browser/search/most_visited_iframe_source.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/gtest_prod_util.h" |
#include "chrome/browser/search/iframe_source.h" |
// Serves HTML for displaying suggestions using iframes, e.g. |
@@ -34,6 +35,14 @@ class MostVisitedIframeSource : public IframeSource { |
virtual bool ServesPath(const std::string& path) const OVERRIDE; |
+ private: |
+ FRIEND_TEST_ALL_PREFIXES(MostVisitedIframeSourceTest, |
+ LogEndpointIsValidWithProvider); |
+ |
+ // Returns the name of the histogram that should be logged for a click to a |
+ // specified Most Visited |provider|. |
+ static std::string GetHistogramNameForProvider(const char* provider); |
+ |
DISALLOW_COPY_AND_ASSIGN(MostVisitedIframeSource); |
}; |