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

Side by Side Diff: chrome/browser/prefs/pref_service.h

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 // This provides a way to access the application's current preferences. 5 // This provides a way to access the application's current preferences.
6 6
7 #ifndef CHROME_BROWSER_PREF_SERVICE_H_ 7 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_H_
8 #define CHROME_BROWSER_PREF_SERVICE_H_ 8 #define CHROME_BROWSER_PREFS_PREF_SERVICE_H_
9 #pragma once 9 #pragma once
10 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/non_thread_safe.h" 14 #include "base/non_thread_safe.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/pref_value_store.h" 17 #include "chrome/browser/prefs/pref_value_store.h"
18 #include "chrome/common/pref_store.h" 18 #include "chrome/common/pref_store.h"
19 19
20 class FilePath; 20 class FilePath;
21 class NotificationObserver; 21 class NotificationObserver;
22 class PrefNotifier; 22 class PrefNotifier;
23 class Profile; 23 class Profile;
24 24
25 class PrefService : public NonThreadSafe { 25 class PrefService : public NonThreadSafe {
26 public: 26 public:
27 // A helper class to store all the information associated with a preference. 27 // A helper class to store all the information associated with a preference.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // The PrefValueStore provides prioritized preference values. It is created 244 // The PrefValueStore provides prioritized preference values. It is created
245 // and owned by this PrefService. Subclasses may access it for unit testing. 245 // and owned by this PrefService. Subclasses may access it for unit testing.
246 scoped_refptr<PrefValueStore> pref_value_store_; 246 scoped_refptr<PrefValueStore> pref_value_store_;
247 247
248 // A set of all the registered Preference objects. 248 // A set of all the registered Preference objects.
249 PreferenceSet prefs_; 249 PreferenceSet prefs_;
250 250
251 DISALLOW_COPY_AND_ASSIGN(PrefService); 251 DISALLOW_COPY_AND_ASSIGN(PrefService);
252 }; 252 };
253 253
254 #endif // CHROME_BROWSER_PREF_SERVICE_H_ 254 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698