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

Side by Side Diff: chrome/test/base/testing_pref_service.h

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | chrome/test/base/testing_pref_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
6 #define CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_ 6 #define CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/pref_registry.h"
11 #include "base/prefs/pref_service.h"
10 #include "base/prefs/testing_pref_store.h" 12 #include "base/prefs/testing_pref_store.h"
11 #include "chrome/browser/prefs/pref_registry.h"
12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/prefs/pref_service_syncable.h" 13 #include "chrome/browser/prefs/pref_service_syncable.h"
14 14
15 class PrefModelAssociator; 15 class PrefModelAssociator;
16 class PrefNotifierImpl; 16 class PrefNotifierImpl;
17 class PrefRegistrySimple; 17 class PrefRegistrySimple;
18 class PrefRegistrySyncable; 18 class PrefRegistrySyncable;
19 class TestingBrowserProcess; 19 class TestingBrowserProcess;
20 class TestingPrefStore; 20 class TestingPrefStore;
21 21
22 // A PrefService subclass for testing. It operates totally in memory and 22 // A PrefService subclass for testing. It operates totally in memory and
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 pref_store->SetValue(path, value); 219 pref_store->SetValue(path, value);
220 } 220 }
221 221
222 template<class SuperPrefService> 222 template<class SuperPrefService>
223 void TestingPrefServiceBase<SuperPrefService>::RemovePref( 223 void TestingPrefServiceBase<SuperPrefService>::RemovePref(
224 TestingPrefStore* pref_store, const char* path) { 224 TestingPrefStore* pref_store, const char* path) {
225 pref_store->RemoveValue(path); 225 pref_store->RemoveValue(path);
226 } 226 }
227 227
228 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_ 228 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | chrome/test/base/testing_pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698