Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h

Issue 1396143002: Emit correct NewTabPage.SuggestionsType metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/common/instant_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
diff --git a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
index a1c749a927627abca2a72581ff3af4eafb52d36c..af3c6f870f1a0d98c82a3729f78bd4d875fdeee5 100644
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/gtest_prod_util.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
#include "chrome/common/ntp_logging_events.h"
@@ -63,6 +64,11 @@ class NTPUserDataLogger
private:
friend class content::WebContentsUserData<NTPUserDataLogger>;
+ FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
+ OnMostVisitedItemsChangedFromServer);
+ FRIEND_TEST_ALL_PREFIXES(SearchTabHelperTest,
+ OnMostVisitedItemsChangedFromClient);
+
// True if at least one iframe came from a server-side suggestion.
bool has_server_side_suggestions_;
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/common/instant_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698