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..ba6a6311efed1a9fc7bee58d43cdd6468eec22a0 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 clear_browsing_data_tab); |
~BrowsingDataCounterBridge(); |
@@ -33,6 +34,7 @@ class BrowsingDataCounterBridge { |
base::android::ScopedJavaGlobalRef<jobject> jobject_; |
std::unique_ptr<browsing_data::BrowsingDataCounter> counter_; |
+ browsing_data::ClearBrowsingDataTab clear_browsing_data_tab_; |
DISALLOW_COPY_AND_ASSIGN(BrowsingDataCounterBridge); |
}; |