Index: components/ntp_snippets/content_suggestions_service.cc |
diff --git a/components/ntp_snippets/content_suggestions_service.cc b/components/ntp_snippets/content_suggestions_service.cc |
index f808d74e35c9d830ea6193e2b90aa6d89428402a..8cc0a1b3c2481949f637976e1274e4ed6da7353c 100644 |
--- a/components/ntp_snippets/content_suggestions_service.cc |
+++ b/components/ntp_snippets/content_suggestions_service.cc |
@@ -12,6 +12,7 @@ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/memory/ptr_util.h" |
+#include "base/metrics/histogram_macros.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/default_clock.h" |
@@ -49,6 +50,10 @@ ContentSuggestionsService::ContentSuggestionsService( |
} |
RestoreDismissedCategoriesFromPrefs(); |
+ |
+ UMA_HISTOGRAM_BOOLEAN( |
+ "NewTabPage.ContentSuggestions.Preferences.RemoteSuggestions", |
+ IsRemoteSuggestionsServiceEnabled()); |
Marc Treib
2017/04/06 15:39:30
So far, all the metrics recording code lives in th
dgn
2017/04/06 17:28:12
Done.
|
} |
ContentSuggestionsService::~ContentSuggestionsService() = default; |