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> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
16 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
17 #include "base/prefs/pref_change_registrar.h" | 20 #include "base/prefs/pref_change_registrar.h" |
18 #include "base/scoped_observer.h" | 21 #include "base/scoped_observer.h" |
19 #include "base/strings/string16.h" | 22 #include "base/strings/string16.h" |
| 23 #include "build/build_config.h" |
20 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" | 24 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.
h" |
21 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" | 25 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
22 #include "chrome/browser/supervised_user/supervised_users.h" | 26 #include "chrome/browser/supervised_user/supervised_users.h" |
23 #include "chrome/browser/ui/browser_list_observer.h" | 27 #include "chrome/browser/ui/browser_list_observer.h" |
24 #include "components/keyed_service/core/keyed_service.h" | 28 #include "components/keyed_service/core/keyed_service.h" |
25 #include "components/sync_driver/sync_service_observer.h" | 29 #include "components/sync_driver/sync_service_observer.h" |
26 #include "components/sync_driver/sync_type_preference_provider.h" | 30 #include "components/sync_driver/sync_type_preference_provider.h" |
27 #include "net/url_request/url_request_context_getter.h" | 31 #include "net/url_request/url_request_context_getter.h" |
28 | 32 |
29 #if defined(ENABLE_EXTENSIONS) | 33 #if defined(ENABLE_EXTENSIONS) |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 377 |
374 // Used to create permission requests. | 378 // Used to create permission requests. |
375 ScopedVector<PermissionRequestCreator> permissions_creators_; | 379 ScopedVector<PermissionRequestCreator> permissions_creators_; |
376 | 380 |
377 base::ObserverList<SupervisedUserServiceObserver> observer_list_; | 381 base::ObserverList<SupervisedUserServiceObserver> observer_list_; |
378 | 382 |
379 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; | 383 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; |
380 }; | 384 }; |
381 | 385 |
382 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ | 386 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ |
OLD | NEW |