Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: chrome/browser/android/browsing_data/browsing_data_counter_bridge.h

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: rebase and fix compilation Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698