OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_MANAGED_MODE_MANAGED_USER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ |
6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ | 6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/prefs/pref_change_registrar.h" | 13 #include "base/prefs/pref_change_registrar.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/extensions/management_policy.h" | |
16 #include "chrome/browser/managed_mode/managed_mode_url_filter.h" | 15 #include "chrome/browser/managed_mode/managed_mode_url_filter.h" |
17 #include "chrome/browser/managed_mode/managed_users.h" | 16 #include "chrome/browser/managed_mode/managed_users.h" |
18 #include "chrome/browser/sync/profile_sync_service_observer.h" | 17 #include "chrome/browser/sync/profile_sync_service_observer.h" |
19 #include "chrome/browser/ui/browser_list_observer.h" | 18 #include "chrome/browser/ui/browser_list_observer.h" |
20 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 19 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
21 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
22 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
23 #include "content/public/browser/web_contents.h" | 22 #include "content/public/browser/web_contents.h" |
| 23 #include "extensions/browser/management_policy.h" |
24 | 24 |
25 class Browser; | 25 class Browser; |
26 class GoogleServiceAuthError; | 26 class GoogleServiceAuthError; |
27 class ManagedModeURLFilter; | 27 class ManagedModeURLFilter; |
28 class ManagedModeSiteList; | 28 class ManagedModeSiteList; |
29 class ManagedUserRegistrationUtility; | 29 class ManagedUserRegistrationUtility; |
30 class ManagedUserSettingsService; | 30 class ManagedUserSettingsService; |
31 class Profile; | 31 class Profile; |
32 | 32 |
33 namespace user_prefs { | 33 namespace user_prefs { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 255 |
256 // True only when |Shutdown()| method has been called. | 256 // True only when |Shutdown()| method has been called. |
257 bool did_shutdown_; | 257 bool did_shutdown_; |
258 | 258 |
259 URLFilterContext url_filter_context_; | 259 URLFilterContext url_filter_context_; |
260 | 260 |
261 base::WeakPtrFactory<ManagedUserService> weak_ptr_factory_; | 261 base::WeakPtrFactory<ManagedUserService> weak_ptr_factory_; |
262 }; | 262 }; |
263 | 263 |
264 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ | 264 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ |
OLD | NEW |