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/memory/scoped_vector.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/prefs/pref_change_registrar.h" | 17 #include "base/prefs/pref_change_registrar.h" |
18 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
20 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" | 20 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" |
21 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 21 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
22 #include "chrome/browser/supervised_user/supervised_users.h" | 22 #include "chrome/browser/supervised_user/supervised_users.h" |
23 #include "chrome/browser/sync/sync_type_preference_provider.h" | |
24 #include "chrome/browser/ui/browser_list_observer.h" | 23 #include "chrome/browser/ui/browser_list_observer.h" |
25 #include "components/keyed_service/core/keyed_service.h" | 24 #include "components/keyed_service/core/keyed_service.h" |
26 #include "components/sync_driver/sync_service_observer.h" | 25 #include "components/sync_driver/sync_service_observer.h" |
| 26 #include "components/sync_driver/sync_type_preference_provider.h" |
27 #include "net/url_request/url_request_context_getter.h" | 27 #include "net/url_request/url_request_context_getter.h" |
28 | 28 |
29 #if defined(ENABLE_EXTENSIONS) | 29 #if defined(ENABLE_EXTENSIONS) |
30 #include "extensions/browser/management_policy.h" | 30 #include "extensions/browser/management_policy.h" |
31 #endif | 31 #endif |
32 | 32 |
33 class Browser; | 33 class Browser; |
34 class FileDownloader; | 34 class FileDownloader; |
35 class GoogleServiceAuthError; | 35 class GoogleServiceAuthError; |
36 class PermissionRequestCreator; | 36 class PermissionRequestCreator; |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 373 |
374 // Used to create permission requests. | 374 // Used to create permission requests. |
375 ScopedVector<PermissionRequestCreator> permissions_creators_; | 375 ScopedVector<PermissionRequestCreator> permissions_creators_; |
376 | 376 |
377 base::ObserverList<SupervisedUserServiceObserver> observer_list_; | 377 base::ObserverList<SupervisedUserServiceObserver> observer_list_; |
378 | 378 |
379 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; | 379 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; |
380 }; | 380 }; |
381 | 381 |
382 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 382 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
OLD | NEW |