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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "base/prefs/pref_change_registrar.h" | |
21 #include "base/scoped_observer.h" | 20 #include "base/scoped_observer.h" |
22 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
23 #include "build/build_config.h" | 22 #include "build/build_config.h" |
24 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" | 23 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" |
25 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 24 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
26 #include "chrome/browser/supervised_user/supervised_users.h" | 25 #include "chrome/browser/supervised_user/supervised_users.h" |
27 #include "chrome/browser/ui/browser_list_observer.h" | 26 #include "chrome/browser/ui/browser_list_observer.h" |
28 #include "components/keyed_service/core/keyed_service.h" | 27 #include "components/keyed_service/core/keyed_service.h" |
| 28 #include "components/prefs/pref_change_registrar.h" |
29 #include "components/sync_driver/sync_service_observer.h" | 29 #include "components/sync_driver/sync_service_observer.h" |
30 #include "components/sync_driver/sync_type_preference_provider.h" | 30 #include "components/sync_driver/sync_type_preference_provider.h" |
31 #include "net/url_request/url_request_context_getter.h" | 31 #include "net/url_request/url_request_context_getter.h" |
32 | 32 |
33 #if defined(ENABLE_EXTENSIONS) | 33 #if defined(ENABLE_EXTENSIONS) |
34 #include "extensions/browser/management_policy.h" | 34 #include "extensions/browser/management_policy.h" |
35 #endif | 35 #endif |
36 | 36 |
37 class Browser; | 37 class Browser; |
38 class FileDownloader; | 38 class FileDownloader; |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 | 391 |
392 // Used to create permission requests. | 392 // Used to create permission requests. |
393 ScopedVector<PermissionRequestCreator> permissions_creators_; | 393 ScopedVector<PermissionRequestCreator> permissions_creators_; |
394 | 394 |
395 base::ObserverList<SupervisedUserServiceObserver> observer_list_; | 395 base::ObserverList<SupervisedUserServiceObserver> observer_list_; |
396 | 396 |
397 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; | 397 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; |
398 }; | 398 }; |
399 | 399 |
400 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 400 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
OLD | NEW |