| 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..90de55176db7fc1c97e7c382516f6f45ad4d2a87 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,9 @@ ContentSuggestionsService::ContentSuggestionsService(
|
| }
|
|
|
| RestoreDismissedCategoriesFromPrefs();
|
| +
|
| + UMA_HISTOGRAM_BOOLEAN("ContentSuggestions.Preferences.RemoteSuggestions",
|
| + IsRemoteSuggestionsServiceEnabled());
|
| }
|
|
|
| ContentSuggestionsService::~ContentSuggestionsService() = default;
|
|
|