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

Side by Side Diff: components/user_prefs/tracked/segregated_pref_store.h

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_ 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_
6 #define CHROME_BROWSER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_ 6 #define COMPONENTS_USER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/prefs/persistent_pref_store.h" 16 #include "base/prefs/persistent_pref_store.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 scoped_refptr<PersistentPrefStore> selected_pref_store_; 100 scoped_refptr<PersistentPrefStore> selected_pref_store_;
101 std::set<std::string> selected_preference_names_; 101 std::set<std::string> selected_preference_names_;
102 102
103 scoped_ptr<PersistentPrefStore::ReadErrorDelegate> read_error_delegate_; 103 scoped_ptr<PersistentPrefStore::ReadErrorDelegate> read_error_delegate_;
104 base::ObserverList<PrefStore::Observer, true> observers_; 104 base::ObserverList<PrefStore::Observer, true> observers_;
105 AggregatingObserver aggregating_observer_; 105 AggregatingObserver aggregating_observer_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(SegregatedPrefStore); 107 DISALLOW_COPY_AND_ASSIGN(SegregatedPrefStore);
108 }; 108 };
109 109
110 #endif // CHROME_BROWSER_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_ 110 #endif // COMPONENTS_PREFS_TRACKED_SEGREGATED_PREF_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698