| 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 65eff4b91db7f4b087e349cb6f8a67b108c73cdf..b4066d5c0f0b5f60793669da38253bc235b3045a 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"
|
| @@ -614,6 +615,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(
|
|
|