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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_pref_store.h

Issue 615493005: c/b/supervised_user: Use range-based for where appropriate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix CrOS Created 6 years, 2 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_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_
7 7
8 #include <string>
9
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 11 #include "base/observer_list.h"
10 #include "base/prefs/pref_store.h" 12 #include "base/prefs/pref_store.h"
11 #include "chrome/browser/supervised_user/supervised_users.h" 13 #include "chrome/browser/supervised_user/supervised_users.h"
12 14
13 namespace base { 15 namespace base {
14 class DictionaryValue; 16 class DictionaryValue;
15 class Value; 17 class Value;
16 } 18 }
17 19
(...skipping 21 matching lines...) Expand all
39 void OnNewSettingsAvailable(const base::DictionaryValue* settings); 41 void OnNewSettingsAvailable(const base::DictionaryValue* settings);
40 42
41 scoped_ptr<PrefValueMap> prefs_; 43 scoped_ptr<PrefValueMap> prefs_;
42 44
43 ObserverList<PrefStore::Observer, true> observers_; 45 ObserverList<PrefStore::Observer, true> observers_;
44 46
45 base::WeakPtrFactory<SupervisedUserPrefStore> weak_ptr_factory_; 47 base::WeakPtrFactory<SupervisedUserPrefStore> weak_ptr_factory_;
46 }; 48 };
47 49
48 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_ 50 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_PREF_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698