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

Unified Diff: components/browsing_data/core/counters/browsing_data_counter_unittest.cc

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: components/browsing_data/core/counters/browsing_data_counter_unittest.cc
diff --git a/components/browsing_data/core/counters/browsing_data_counter_unittest.cc b/components/browsing_data/core/counters/browsing_data_counter_unittest.cc
index e7455b3c8d40346ff55b4794271fa71c22bbe81e..370a5a81311cd62bbc762eae0f2d2f5480140391 100644
--- a/components/browsing_data/core/counters/browsing_data_counter_unittest.cc
+++ b/components/browsing_data/core/counters/browsing_data_counter_unittest.cc
@@ -87,7 +87,9 @@ class BrowsingDataCounterTest : public testing::Test {
pref_service_->registry()->RegisterIntegerPref(prefs::kDeleteTimePeriod, 0);
counter_.reset(new MockBrowsingDataCounter());
- counter_->Init(pref_service_.get(), base::Bind(&IgnoreResult));
+ counter_->Init(pref_service_.get(),
+ browsing_data::ClearBrowsingDataTab::ADVANCED,
+ base::Bind(&IgnoreResult));
}
void TearDown() override {

Powered by Google App Engine
This is Rietveld 408576698