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/prefs/public/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "chrome/browser/extensions/management_policy.h" | 13 #include "chrome/browser/extensions/management_policy.h" |
14 #include "chrome/browser/managed_mode/managed_mode_url_filter.h" | 14 #include "chrome/browser/managed_mode/managed_mode_url_filter.h" |
15 #include "chrome/browser/profiles/profile_keyed_service.h" | 15 #include "chrome/browser/profiles/profile_keyed_service.h" |
16 #include "chrome/browser/ui/webui/managed_user_passphrase_dialog.h" | 16 #include "chrome/browser/ui/webui/managed_user_passphrase_dialog.h" |
17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
19 #include "content/public/browser/web_contents.h" | 19 #include "content/public/browser/web_contents.h" |
20 | 20 |
21 class Browser; | 21 class Browser; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 PrefChangeRegistrar pref_change_registrar_; | 188 PrefChangeRegistrar pref_change_registrar_; |
189 | 189 |
190 // Stores the extension ids of the extensions which currently can be modified | 190 // Stores the extension ids of the extensions which currently can be modified |
191 // by the managed user. | 191 // by the managed user. |
192 std::set<std::string> elevated_for_extensions_; | 192 std::set<std::string> elevated_for_extensions_; |
193 | 193 |
194 URLFilterContext url_filter_context_; | 194 URLFilterContext url_filter_context_; |
195 }; | 195 }; |
196 | 196 |
197 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ | 197 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ |
OLD | NEW |