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

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

Issue 2293373002: Remove unused prefs/api/resource for setPageEncoding (Closed)
Patch Set: It's September! Created 4 years, 3 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/prefs/browser_prefs.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/chrome_pref_service_unittest.cc
diff --git a/chrome/browser/prefs/chrome_pref_service_unittest.cc b/chrome/browser/prefs/chrome_pref_service_unittest.cc
index 595226ea48d1217dac920d36980a8f0c8486efec..165f51df2e0f922630c25c1463963fbe2c3f4f2d 100644
--- a/chrome/browser/prefs/chrome_pref_service_unittest.cc
+++ b/chrome/browser/prefs/chrome_pref_service_unittest.cc
@@ -108,8 +108,6 @@ class ChromePrefServiceWebKitPrefs : public ChromeRenderViewHostTestHarness {
new base::FundamentalValue(20));
pref_services->SetUserPref(prefs::kWebKitTextAreasAreResizable,
new base::FundamentalValue(false));
- pref_services->SetUserPref(prefs::kWebKitUsesUniversalDetector,
- new base::FundamentalValue(true));
pref_services->SetUserPref("webkit.webprefs.foo",
new base::StringValue("bar"));
}
@@ -125,7 +123,6 @@ TEST_F(ChromePrefServiceWebKitPrefs, PrefsCopied) {
EXPECT_EQ("UTF-8", webkit_prefs.default_encoding);
EXPECT_EQ(20, webkit_prefs.default_font_size);
EXPECT_FALSE(webkit_prefs.text_areas_are_resizable);
- EXPECT_TRUE(webkit_prefs.uses_universal_detector);
// These should still be the default values.
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698