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

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

Issue 2136373003: Move browsing data deletion prefs to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 4 years, 5 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 42fe2ca06f2021b5cad769b91ca7170801e7e13a..f504acf897568c36f33f7e86a11825f6df3a0904 100644
--- a/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/media_licenses_counter_browsertest.cc
@@ -8,8 +8,8 @@
#include "base/run_loop.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
-#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
+#include "components/browsing_data/pref_names.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
@@ -33,8 +33,8 @@ class MediaLicensesCounterTest : public InProcessBrowserTest {
void SetUpOnMainThread() override { SetMediaLicenseDeletionPref(true); }
void SetMediaLicenseDeletionPref(bool value) {
- browser()->profile()->GetPrefs()->SetBoolean(prefs::kDeleteMediaLicenses,
- value);
+ browser()->profile()->GetPrefs()->SetBoolean(
+ browsing_data::prefs::kDeleteMediaLicenses, value);
}
// Create some test data for origin |kOrigin|.
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter.cc ('k') | chrome/browser/browsing_data/passwords_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698