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

Unified Diff: chrome/browser/cocoa/preferences_window_controller_unittest.mm

Issue 155151: Hook up the prefs for the optional home buttons and page/wrench buttons. Move... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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/cocoa/preferences_window_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/preferences_window_controller_unittest.mm (revision 20018)
+++ chrome/browser/cocoa/preferences_window_controller_unittest.mm (working copy)
@@ -32,13 +32,10 @@
class PrefsControllerTest : public PlatformTest {
public:
PrefsControllerTest() {
- // Since this is a platform-specific preference, it's not registered by
- // any of the shared code. We have to register it ourselves.
- PrefService* prefs = browser_helper_.profile()->GetPrefs();
- prefs->RegisterBooleanPref(prefs::kShowPageOptionsButtons, false);
// The metrics reporting pref is registerd on the local state object in
// real builds, but we don't have one of those for unit tests. Register
// it on prefs so we'll find it when we go looking.
+ PrefService* prefs = browser_helper_.profile()->GetPrefs();
prefs->RegisterBooleanPref(prefs::kMetricsReportingEnabled, false);
pref_controller_.reset([[PreferencesWindowController alloc]

Powered by Google App Engine
This is Rietveld 408576698