Index: chrome/browser/android/browsing_data/browsing_data_counter_bridge.h |
diff --git a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.h b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.h |
index 6c55f58abdef9a83653531dc14f17bd56b1dac39..a669077d98d04f3bdaf82fb721c6e878e3916c95 100644 |
--- a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.h |
+++ b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.h |
@@ -7,6 +7,7 @@ |
#include "base/android/jni_weak_ref.h" |
#include "base/android/scoped_java_ref.h" |
+#include "components/browsing_data/core/browsing_data_utils.h" |
#include "components/browsing_data/core/counters/browsing_data_counter.h" |
// This class is a wrapper for BrowsingDataCounter (C++ backend) to be used by |
@@ -15,10 +16,10 @@ class BrowsingDataCounterBridge { |
public: |
// Creates a BrowsingDataCounterBridge for a certain browsing data type. |
// The |data_type| is a value of the enum BrowsingDataType. |
- BrowsingDataCounterBridge( |
- JNIEnv* env, |
- const base::android::JavaParamRef<jobject>& obj, |
- jint data_type); |
+ BrowsingDataCounterBridge(JNIEnv* env, |
+ const base::android::JavaParamRef<jobject>& obj, |
+ jint data_type, |
+ jint pref_type); |
~BrowsingDataCounterBridge(); |
@@ -33,6 +34,7 @@ class BrowsingDataCounterBridge { |
base::android::ScopedJavaGlobalRef<jobject> jobject_; |
std::unique_ptr<browsing_data::BrowsingDataCounter> counter_; |
+ browsing_data::ClearBrowsingDataPreferenceType pref_type_; |
DISALLOW_COPY_AND_ASSIGN(BrowsingDataCounterBridge); |
}; |