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

Side by Side Diff: chrome/test/testing_pref_value_store.h

Issue 5441002: Clean up pref change notification handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix extension prefs breakage 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/testing_pref_service.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_TESTING_PREF_VALUE_STORE_H_
6 #define CHROME_TEST_TESTING_PREF_VALUE_STORE_H_
7 #pragma once
8
9 #include "chrome/browser/prefs/pref_value_store.h"
10
11 // PrefValueStore subclass that allows directly setting PrefStores.
12 class TestingPrefValueStore : public PrefValueStore {
13 public:
14 TestingPrefValueStore(PrefStore* managed_platform_prefs,
15 PrefStore* device_management_prefs,
16 PrefStore* extension_prefs,
17 PrefStore* command_line_prefs,
18 PrefStore* user_prefs,
19 PrefStore* recommended_prefs,
20 PrefStore* default_prefs)
21 : PrefValueStore(managed_platform_prefs, device_management_prefs,
22 extension_prefs, command_line_prefs,
23 user_prefs, recommended_prefs, default_prefs, NULL) {}
24 };
25
26 #endif // CHROME_TEST_TESTING_PREF_VALUE_STORE_H_
OLDNEW
« no previous file with comments | « chrome/test/testing_pref_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698