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

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

Issue 5915004: Introduce incognito preference settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespaces + fixes for trybot Created 10 years 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/prefs/pref_change_registrar_unittest.cc
diff --git a/chrome/browser/prefs/pref_change_registrar_unittest.cc b/chrome/browser/prefs/pref_change_registrar_unittest.cc
index 2e4cd0e8425ef38c00ba824fddfb7a570508901a..a8c1eedff6c602022cac56984f3111c5901c6130 100644
--- a/chrome/browser/prefs/pref_change_registrar_unittest.cc
+++ b/chrome/browser/prefs/pref_change_registrar_unittest.cc
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/browser/extensions/extension_pref_store.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
+#include "chrome/browser/prefs/testing_pref_store.h"
#include "chrome/common/notification_details.h"
#include "chrome/common/notification_observer_mock.h"
#include "chrome/common/notification_source.h"
@@ -20,7 +22,12 @@ namespace {
// A mock provider that allows us to capture pref observer changes.
class MockPrefService : public TestingPrefService {
public:
- MockPrefService() {}
+ MockPrefService()
+ : TestingPrefService(new TestingPrefStore(),
+ new TestingPrefStore(),
+ new ExtensionPrefStore(),
+ new TestingPrefStore()) {
+ }
virtual ~MockPrefService() {};
MOCK_METHOD2(AddPrefObserver, void(const char*, NotificationObserver*));

Powered by Google App Engine
This is Rietveld 408576698