OLD | NEW |
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_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/scoped_vector.h" |
15 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
16 #include "base/prefs/pref_change_registrar.h" | 17 #include "base/prefs/pref_change_registrar.h" |
17 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
18 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
19 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" | 20 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" |
20 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 21 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
21 #include "chrome/browser/supervised_user/supervised_users.h" | 22 #include "chrome/browser/supervised_user/supervised_users.h" |
22 #include "chrome/browser/sync/sync_type_preference_provider.h" | 23 #include "chrome/browser/sync/sync_type_preference_provider.h" |
23 #include "chrome/browser/ui/browser_list_observer.h" | 24 #include "chrome/browser/ui/browser_list_observer.h" |
24 #include "components/keyed_service/core/keyed_service.h" | 25 #include "components/keyed_service/core/keyed_service.h" |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 351 |
351 // Used to create permission requests. | 352 // Used to create permission requests. |
352 ScopedVector<PermissionRequestCreator> permissions_creators_; | 353 ScopedVector<PermissionRequestCreator> permissions_creators_; |
353 | 354 |
354 base::ObserverList<SupervisedUserServiceObserver> observer_list_; | 355 base::ObserverList<SupervisedUserServiceObserver> observer_list_; |
355 | 356 |
356 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; | 357 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; |
357 }; | 358 }; |
358 | 359 |
359 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 360 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
OLD | NEW |