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

Unified Diff: chrome/browser/browsing_data/media_licenses_counter_browsertest.cc

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: fix .classpath file 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/browsing_data/media_licenses_counter_browsertest.cc
diff --git a/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc b/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
index b638711e25b9764ccadadaf8faa2dc71000363b6..0faecdfe88ccbd795d35fe7cb6bdd5faeac194c5 100644
--- a/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
@@ -156,6 +156,7 @@ IN_PROC_BROWSER_TEST_F(MediaLicensesCounterTest, Empty) {
Profile* profile = browser()->profile();
MediaLicensesCounter counter(profile);
counter.Init(profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&MediaLicensesCounterTest::CountingCallback,
base::Unretained(this)));
counter.Restart();
@@ -174,6 +175,7 @@ IN_PROC_BROWSER_TEST_F(MediaLicensesCounterTest, NonEmpty) {
Profile* profile = browser()->profile();
MediaLicensesCounter counter(profile);
counter.Init(profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&MediaLicensesCounterTest::CountingCallback,
base::Unretained(this)));
counter.Restart();
@@ -193,6 +195,7 @@ IN_PROC_BROWSER_TEST_F(MediaLicensesCounterTest, PrefChanged) {
Profile* profile = browser()->profile();
MediaLicensesCounter counter(profile);
counter.Init(profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&MediaLicensesCounterTest::CountingCallback,
base::Unretained(this)));
SetMediaLicenseDeletionPref(true);

Powered by Google App Engine
This is Rietveld 408576698