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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_sync_service.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_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_
7 7
8 #include <string>
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/observer_list.h" 13 #include "base/observer_list.h"
13 #include "base/prefs/pref_change_registrar.h" 14 #include "base/prefs/pref_change_registrar.h"
14 #include "chrome/browser/supervised_user/supervised_user_sync_service_observer.h " 15 #include "chrome/browser/supervised_user/supervised_user_sync_service_observer.h "
15 #include "chrome/browser/supervised_user/supervised_users.h" 16 #include "chrome/browser/supervised_user/supervised_users.h"
16 #include "components/keyed_service/core/keyed_service.h" 17 #include "components/keyed_service/core/keyed_service.h"
17 #include "sync/api/syncable_service.h" 18 #include "sync/api/syncable_service.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 scoped_ptr<syncer::SyncErrorFactory> error_handler_; 159 scoped_ptr<syncer::SyncErrorFactory> error_handler_;
159 160
160 ObserverList<SupervisedUserSyncServiceObserver> observers_; 161 ObserverList<SupervisedUserSyncServiceObserver> observers_;
161 162
162 std::vector<SupervisedUsersCallback> callbacks_; 163 std::vector<SupervisedUsersCallback> callbacks_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); 165 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService);
165 }; 166 };
166 167
167 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ 168 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698