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

Unified Diff: chrome/browser/prefs/overlay_user_pref_store_unittest.cc

Issue 10409046: Migrate the rest of the "global" prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 7 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
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | chrome/browser/prefs/pref_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/overlay_user_pref_store_unittest.cc
diff --git a/chrome/browser/prefs/overlay_user_pref_store_unittest.cc b/chrome/browser/prefs/overlay_user_pref_store_unittest.cc
index 2e6b2c7906eb6ac0c508491a0e26e968cb8906c9..18d10a09209d2a8a97822dd813ae8fa2cad53f7b 100644
--- a/chrome/browser/prefs/overlay_user_pref_store_unittest.cc
+++ b/chrome/browser/prefs/overlay_user_pref_store_unittest.cc
@@ -17,8 +17,10 @@ namespace {
const char* overlay_key = prefs::kBrowserWindowPlacement;
const char* regular_key = prefs::kShowBookmarkBar;
-const char* mapped_overlay_key = prefs::kWebKitJavascriptEnabled;
-const char* mapped_underlay_key = prefs::kWebKitGlobalJavascriptEnabled;
+// With the removal of the kWebKitGlobalXXX prefs, we'll no longer have real
+// prefs using the overlay pref store, so make up keys here.
+const char* mapped_overlay_key = "test.per_tab.javascript_enabled";
+const char* mapped_underlay_key = "test.per_profile.javascript_enabled";
} // namespace
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | chrome/browser/prefs/pref_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698