| Index: chrome/browser/android/preferences/pref_service_bridge.cc
|
| diff --git a/chrome/browser/android/preferences/pref_service_bridge.cc b/chrome/browser/android/preferences/pref_service_bridge.cc
|
| index f0303b285251913573c9ced37bcc6681556c1bfb..87055b0371e5d91a27e787d3d0b77a7c4259971b 100644
|
| --- a/chrome/browser/android/preferences/pref_service_bridge.cc
|
| +++ b/chrome/browser/android/preferences/pref_service_bridge.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/android/jni_weak_ref.h"
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| +#include "base/metrics/histogram_macros.h"
|
| #include "base/scoped_observer.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/values.h"
|
| @@ -645,6 +646,8 @@ static void ShowNoticeAboutOtherFormsOfBrowsingHistory(
|
| ScopedJavaGlobalRef<jobject>* listener,
|
| bool show) {
|
| JNIEnv* env = AttachCurrentThread();
|
| + UMA_HISTOGRAM_BOOLEAN(
|
| + "History.ClearBrowsingData.HistoryNoticeShownInFooterWhenUpdated", show);
|
| if (!show)
|
| return;
|
| Java_OtherFormsOfBrowsingHistoryListener_showNoticeAboutOtherFormsOfBrowsingHistory(
|
|
|