blob: 69e9fc118869c51d9f08b64d07bfdb0a23624640 [file] [log] [blame]
[email protected]cce15bb2014-06-17 13:43:511// Copyright 2014 The Chromium Authors. All rights reserved.
[email protected]0850e842013-01-19 03:44:312// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]cce15bb2014-06-17 13:43:515#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
6#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
[email protected]0850e842013-01-19 03:44:317
treib950c6e82014-09-23 13:07:298#include <map>
[email protected]0d9a1da82013-03-14 21:52:079#include <set>
treib950c6e82014-09-23 13:07:2910#include <string>
[email protected]0850e842013-01-19 03:44:3111#include <vector>
12
[email protected]438f7e12013-08-07 06:59:0013#include "base/callback.h"
[email protected]076ebeda2014-06-06 21:47:2614#include "base/gtest_prod_util.h"
[email protected]a581ea22013-05-06 12:34:1915#include "base/memory/scoped_ptr.h"
treibab0a39e2014-09-24 14:48:2816#include "base/observer_list.h"
[email protected]1ab137b2013-03-21 03:33:1817#include "base/prefs/pref_change_registrar.h"
[email protected]f2253ac2014-05-28 08:37:2118#include "base/scoped_observer.h"
[email protected]f9b294362013-06-10 20:22:3119#include "base/strings/string16.h"
treib4edbded2014-09-05 08:43:5520#include "chrome/browser/supervised_user/experimental/supervised_user_blacklist.h"
[email protected]cce15bb2014-06-17 13:43:5121#include "chrome/browser/supervised_user/supervised_user_url_filter.h"
22#include "chrome/browser/supervised_user/supervised_users.h"
[email protected]a243d644c2013-06-20 18:37:5523#include "chrome/browser/sync/profile_sync_service_observer.h"
[email protected]3a276ff2014-08-12 14:22:0924#include "chrome/browser/sync/sync_type_preference_provider.h"
[email protected]514fcf22013-08-13 06:37:2425#include "chrome/browser/ui/browser_list_observer.h"
[email protected]12b7af32014-03-13 05:28:2026#include "components/keyed_service/core/keyed_service.h"
[email protected]bfd8cf982013-03-04 15:24:0027#include "content/public/browser/web_contents.h"
[email protected]c14a6802014-07-11 21:51:1228
29#if defined(ENABLE_EXTENSIONS)
[email protected]f2253ac2014-05-28 08:37:2130#include "extensions/browser/extension_registry_observer.h"
[email protected]301116c62013-11-26 10:37:4531#include "extensions/browser/management_policy.h"
[email protected]c14a6802014-07-11 21:51:1232#endif
[email protected]0850e842013-01-19 03:44:3133
[email protected]509ad1a92013-03-19 21:41:0634class Browser;
[email protected]acfcfbb2013-05-13 18:01:2735class GoogleServiceAuthError;
[email protected]4db65f952014-05-20 15:46:3036class PermissionRequestCreator;
[email protected]0850e842013-01-19 03:44:3137class Profile;
treibf136dfb2014-09-25 17:37:4738class SupervisedUserBlacklistDownloader;
[email protected]cce15bb2014-06-17 13:43:5139class SupervisedUserRegistrationUtility;
treibab0a39e2014-09-24 14:48:2840class SupervisedUserServiceObserver;
[email protected]cce15bb2014-06-17 13:43:5141class SupervisedUserSettingsService;
42class SupervisedUserSiteList;
43class SupervisedUserURLFilter;
[email protected]0850e842013-01-19 03:44:3144
treibdaece84f2014-09-05 12:58:1545namespace base {
46class FilePath;
47}
48
[email protected]f2253ac2014-05-28 08:37:2149namespace extensions {
50class ExtensionRegistry;
51}
52
[email protected]443e9312013-05-06 06:17:3453namespace user_prefs {
54class PrefRegistrySyncable;
55}
56
[email protected]cce15bb2014-06-17 13:43:5157// This class handles all the information related to a given supervised profile
[email protected]0850e842013-01-19 03:44:3158// (e.g. the installed content packs, the default URL filtering behavior, or
59// manual whitelist/blacklist overrides).
[email protected]cce15bb2014-06-17 13:43:5160class SupervisedUserService : public KeyedService,
[email protected]c14a6802014-07-11 21:51:1261#if defined(ENABLE_EXTENSIONS)
[email protected]cce15bb2014-06-17 13:43:5162 public extensions::ManagementPolicy::Provider,
[email protected]cce15bb2014-06-17 13:43:5163 public extensions::ExtensionRegistryObserver,
[email protected]c14a6802014-07-11 21:51:1264#endif
[email protected]3a276ff2014-08-12 14:22:0965 public SyncTypePreferenceProvider,
[email protected]c14a6802014-07-11 21:51:1266 public ProfileSyncServiceObserver,
[email protected]cce15bb2014-06-17 13:43:5167 public chrome::BrowserListObserver {
[email protected]0850e842013-01-19 03:44:3168 public:
[email protected]d2065e062013-12-12 23:49:5269 typedef std::vector<base::string16> CategoryList;
[email protected]438f7e12013-08-07 06:59:0070 typedef base::Callback<void(content::WebContents*)> NavigationBlockedCallback;
[email protected]514fcf22013-08-13 06:37:2471 typedef base::Callback<void(const GoogleServiceAuthError&)> AuthErrorCallback;
[email protected]0850e842013-01-19 03:44:3172
[email protected]5e022292013-02-06 16:42:1773 enum ManualBehavior {
74 MANUAL_NONE = 0,
75 MANUAL_ALLOW,
76 MANUAL_BLOCK
77 };
78
[email protected]f085fdd52014-06-11 18:09:2079 class Delegate {
80 public:
81 virtual ~Delegate() {}
82 // Returns true to indicate that the delegate handled the (de)activation, or
[email protected]cce15bb2014-06-17 13:43:5183 // false to indicate that the SupervisedUserService itself should handle it.
[email protected]f085fdd52014-06-11 18:09:2084 virtual bool SetActive(bool active) = 0;
treibdaece84f2014-09-05 12:58:1585 // Returns the path to a blacklist file to load, or an empty path to
86 // indicate "none".
87 virtual base::FilePath GetBlacklistPath() const = 0;
treibf136dfb2014-09-25 17:37:4788 // Returns the URL from which to download a blacklist if no local one exists
89 // yet. The blacklist file will be stored at |GetBlacklistPath()|.
90 virtual GURL GetBlacklistURL() const = 0;
[email protected]f085fdd52014-06-11 18:09:2091 };
92
[email protected]cce15bb2014-06-17 13:43:5193 virtual ~SupervisedUserService();
[email protected]0850e842013-01-19 03:44:3194
[email protected]a243d644c2013-06-20 18:37:5595 // ProfileKeyedService override:
mostynbfb66cb4f2014-10-07 09:15:4296 virtual void Shutdown() override;
[email protected]a243d644c2013-06-20 18:37:5597
[email protected]37ca3fe02013-07-05 15:32:4498 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
[email protected]0850e842013-01-19 03:44:3199
[email protected]f085fdd52014-06-11 18:09:20100 void SetDelegate(Delegate* delegate);
101
[email protected]0850e842013-01-19 03:44:31102 // Returns the URL filter for the IO thread, for filtering network requests
[email protected]cce15bb2014-06-17 13:43:51103 // (in SupervisedUserResourceThrottle).
104 scoped_refptr<const SupervisedUserURLFilter> GetURLFilterForIOThread();
[email protected]0850e842013-01-19 03:44:31105
106 // Returns the URL filter for the UI thread, for filtering navigations and
107 // classifying sites in the history view.
[email protected]cce15bb2014-06-17 13:43:51108 SupervisedUserURLFilter* GetURLFilterForUIThread();
[email protected]0850e842013-01-19 03:44:31109
110 // Returns the URL's category, obtained from the installed content packs.
111 int GetCategory(const GURL& url);
112
113 // Returns the list of all known human-readable category names, sorted by ID
114 // number. Called in the critical path of drawing the history UI, so needs to
115 // be fast.
116 void GetCategoryNames(CategoryList* list);
117
[email protected]0369d6ab2013-08-09 01:52:59118 // Whether the user can request access to blocked URLs.
119 bool AccessRequestsEnabled();
120
[email protected]e861bba2013-06-17 15:20:54121 // Adds an access request for the given URL. The requests are stored using
122 // a prefix followed by a URIEncoded version of the URL. Each entry contains
123 // a dictionary which currently has the timestamp of the request in it.
124 void AddAccessRequest(const GURL& url);
125
[email protected]a9c2d642013-05-31 14:37:14126 // Returns the email address of the custodian.
127 std::string GetCustodianEmailAddress() const;
128
[email protected]fae057a2013-06-21 22:46:08129 // Returns the name of the custodian, or the email address if the name is
130 // empty.
131 std::string GetCustodianName() const;
132
[email protected]5e022292013-02-06 16:42:17133 // These methods allow querying and modifying the manual filtering behavior.
134 // The manual behavior is set by the user and overrides all other settings
135 // (whitelists or the default behavior).
[email protected]0850e842013-01-19 03:44:31136
[email protected]5e022292013-02-06 16:42:17137 // Returns the manual behavior for the given host.
138 ManualBehavior GetManualBehaviorForHost(const std::string& hostname);
[email protected]0850e842013-01-19 03:44:31139
[email protected]5e022292013-02-06 16:42:17140 // Returns the manual behavior for the given URL.
141 ManualBehavior GetManualBehaviorForURL(const GURL& url);
[email protected]0850e842013-01-19 03:44:31142
[email protected]43257902013-03-26 20:59:37143 // Returns all URLS on the given host that have exceptions.
144 void GetManualExceptionsForHost(const std::string& host,
145 std::vector<GURL>* urls);
146
[email protected]0850e842013-01-19 03:44:31147 // Initializes this object. This method does nothing if the profile is not
[email protected]cce15bb2014-06-17 13:43:51148 // supervised.
[email protected]0850e842013-01-19 03:44:31149 void Init();
150
[email protected]a243d644c2013-06-20 18:37:55151 // Initializes this profile for syncing, using the provided |refresh_token| to
152 // mint access tokens for Sync.
153 void InitSync(const std::string& refresh_token);
[email protected]acfcfbb2013-05-13 18:01:27154
[email protected]cce15bb2014-06-17 13:43:51155 // Convenience method that registers this supervised user using
[email protected]458d59442013-08-01 14:19:32156 // |registration_utility| and initializes sync with the returned token.
157 // The |callback| will be called when registration is complete,
[email protected]3a276ff2014-08-12 14:22:09158 // whether it succeeded or not -- unless registration was cancelled manually,
[email protected]458d59442013-08-01 14:19:32159 // in which case the callback will be ignored.
[email protected]cce15bb2014-06-17 13:43:51160 void RegisterAndInitSync(
161 SupervisedUserRegistrationUtility* registration_utility,
162 Profile* custodian_profile,
163 const std::string& supervised_user_id,
164 const AuthErrorCallback& callback);
[email protected]acfcfbb2013-05-13 18:01:27165
[email protected]4f02aac12013-05-20 05:19:06166 void set_elevated_for_testing(bool skip) {
167 elevated_for_testing_ = skip;
[email protected]849749d2013-05-06 17:30:45168 }
169
[email protected]438f7e12013-08-07 06:59:00170 void AddNavigationBlockedCallback(const NavigationBlockedCallback& callback);
171 void DidBlockNavigation(content::WebContents* web_contents);
172
treibab0a39e2014-09-24 14:48:28173 void AddObserver(SupervisedUserServiceObserver* observer);
174 void RemoveObserver(SupervisedUserServiceObserver* observer);
175
[email protected]c14a6802014-07-11 21:51:12176#if defined(ENABLE_EXTENSIONS)
[email protected]ce019142013-02-12 18:08:10177 // extensions::ManagementPolicy::Provider implementation:
mostynbfb66cb4f2014-10-07 09:15:42178 virtual std::string GetDebugPolicyProviderName() const override;
[email protected]0850e842013-01-19 03:44:31179 virtual bool UserMayLoad(const extensions::Extension* extension,
mostynbfb66cb4f2014-10-07 09:15:42180 base::string16* error) const override;
[email protected]0850e842013-01-19 03:44:31181 virtual bool UserMayModifySettings(const extensions::Extension* extension,
mostynbfb66cb4f2014-10-07 09:15:42182 base::string16* error) const override;
[email protected]0850e842013-01-19 03:44:31183
[email protected]f2253ac2014-05-28 08:37:21184 // extensions::ExtensionRegistryObserver implementation.
185 virtual void OnExtensionLoaded(
186 content::BrowserContext* browser_context,
mostynbfb66cb4f2014-10-07 09:15:42187 const extensions::Extension* extension) override;
[email protected]f2253ac2014-05-28 08:37:21188 virtual void OnExtensionUnloaded(
189 content::BrowserContext* browser_context,
190 const extensions::Extension* extension,
mostynbfb66cb4f2014-10-07 09:15:42191 extensions::UnloadedExtensionInfo::Reason reason) override;
[email protected]c14a6802014-07-11 21:51:12192#endif
193
[email protected]3a276ff2014-08-12 14:22:09194 // SyncTypePreferenceProvider implementation:
mostynbfb66cb4f2014-10-07 09:15:42195 virtual syncer::ModelTypeSet GetPreferredDataTypes() const override;
[email protected]3a276ff2014-08-12 14:22:09196
[email protected]c14a6802014-07-11 21:51:12197 // ProfileSyncServiceObserver implementation:
mostynbfb66cb4f2014-10-07 09:15:42198 virtual void OnStateChanged() override;
[email protected]0850e842013-01-19 03:44:31199
[email protected]dfddd022013-07-10 17:29:48200 // chrome::BrowserListObserver implementation:
mostynbfb66cb4f2014-10-07 09:15:42201 virtual void OnBrowserSetLastActive(Browser* browser) override;
[email protected]dfddd022013-07-10 17:29:48202
[email protected]0850e842013-01-19 03:44:31203 private:
[email protected]cce15bb2014-06-17 13:43:51204 friend class SupervisedUserServiceExtensionTestBase;
205 friend class SupervisedUserServiceFactory;
pvalenzuelac2ca4582014-10-14 19:24:57206 FRIEND_TEST_ALL_PREFIXES(SingleClientSupervisedUserSettingsSyncTest, Sanity);
[email protected]cce15bb2014-06-17 13:43:51207 FRIEND_TEST_ALL_PREFIXES(SupervisedUserServiceTest, ClearOmitOnRegistration);
fhorschig1f351f02014-09-30 12:30:22208 FRIEND_TEST_ALL_PREFIXES(SupervisedUserServiceTest,
209 ChangesIncludedSessionOnChangedSettings);
210 FRIEND_TEST_ALL_PREFIXES(SupervisedUserServiceTest,
211 ChangesSyncSessionStateOnChangedSettings);
[email protected]cce15bb2014-06-17 13:43:51212 // A bridge from the UI thread to the SupervisedUserURLFilters, one of which
213 // lives on the IO thread. This class mediates access to them and makes sure
214 // they are kept in sync.
[email protected]0850e842013-01-19 03:44:31215 class URLFilterContext {
216 public:
217 URLFilterContext();
218 ~URLFilterContext();
219
[email protected]cce15bb2014-06-17 13:43:51220 SupervisedUserURLFilter* ui_url_filter() const;
221 SupervisedUserURLFilter* io_url_filter() const;
[email protected]0850e842013-01-19 03:44:31222
223 void SetDefaultFilteringBehavior(
[email protected]cce15bb2014-06-17 13:43:51224 SupervisedUserURLFilter::FilteringBehavior behavior);
225 void LoadWhitelists(ScopedVector<SupervisedUserSiteList> site_lists);
treib4edbded2014-09-05 08:43:55226 void LoadBlacklist(const base::FilePath& path);
[email protected]5e022292013-02-06 16:42:17227 void SetManualHosts(scoped_ptr<std::map<std::string, bool> > host_map);
228 void SetManualURLs(scoped_ptr<std::map<GURL, bool> > url_map);
[email protected]0850e842013-01-19 03:44:31229
230 private:
treib4edbded2014-09-05 08:43:55231 void OnBlacklistLoaded();
232
[email protected]cce15bb2014-06-17 13:43:51233 // SupervisedUserURLFilter is refcounted because the IO thread filter is
234 // used both by ProfileImplIOData and OffTheRecordProfileIOData (to filter
[email protected]0850e842013-01-19 03:44:31235 // network requests), so they both keep a reference to it.
236 // Clients should not keep references to the UI thread filter, however
237 // (the filter will live as long as the profile lives, and afterwards it
238 // should not be used anymore either).
[email protected]cce15bb2014-06-17 13:43:51239 scoped_refptr<SupervisedUserURLFilter> ui_url_filter_;
240 scoped_refptr<SupervisedUserURLFilter> io_url_filter_;
[email protected]0850e842013-01-19 03:44:31241
treib4edbded2014-09-05 08:43:55242 SupervisedUserBlacklist blacklist_;
243
[email protected]0850e842013-01-19 03:44:31244 DISALLOW_COPY_AND_ASSIGN(URLFilterContext);
245 };
246
[email protected]cce15bb2014-06-17 13:43:51247 // Use |SupervisedUserServiceFactory::GetForProfile(..)| to get
[email protected]3bf45d02013-07-10 00:03:41248 // an instance of this service.
[email protected]cce15bb2014-06-17 13:43:51249 explicit SupervisedUserService(Profile* profile);
[email protected]3bf45d02013-07-10 00:03:41250
[email protected]f085fdd52014-06-11 18:09:20251 void SetActive(bool active);
252
[email protected]0085863a2013-12-06 21:19:03253 void OnCustodianProfileDownloaded(const base::string16& full_name);
[email protected]200729f82013-06-22 07:05:55254
[email protected]cce15bb2014-06-17 13:43:51255 void OnSupervisedUserRegistered(const AuthErrorCallback& callback,
256 Profile* custodian_profile,
257 const GoogleServiceAuthError& auth_error,
258 const std::string& token);
[email protected]acfcfbb2013-05-13 18:01:27259
[email protected]a243d644c2013-06-20 18:37:55260 void SetupSync();
[email protected]6e08b9a62014-07-08 00:32:48261 void StartSetupSync();
262 void FinishSetupSyncWhenReady();
263 void FinishSetupSync();
[email protected]a243d644c2013-06-20 18:37:55264
[email protected]cce15bb2014-06-17 13:43:51265 bool ProfileIsSupervised() const;
[email protected]e000daf2013-07-31 16:50:58266
treib3fce4e92014-09-26 16:06:25267 void OnCustodianInfoChanged();
268
[email protected]c14a6802014-07-11 21:51:12269#if defined(ENABLE_EXTENSIONS)
[email protected]0850e842013-01-19 03:44:31270 // Internal implementation for ExtensionManagementPolicy::Delegate methods.
271 // If |error| is not NULL, it will be filled with an error message if the
272 // requested extension action (install, modify status, etc.) is not permitted.
[email protected]38b7fb92013-07-26 16:32:26273 bool ExtensionManagementPolicyImpl(const extensions::Extension* extension,
[email protected]0085863a2013-12-06 21:19:03274 base::string16* error) const;
[email protected]0850e842013-01-19 03:44:31275
276 // Returns a list of all installed and enabled site lists in the current
[email protected]cce15bb2014-06-17 13:43:51277 // supervised profile.
278 ScopedVector<SupervisedUserSiteList> GetActiveSiteLists();
[email protected]0850e842013-01-19 03:44:31279
[email protected]c14a6802014-07-11 21:51:12280 // Extensions helper to SetActive().
281 void SetExtensionsActive();
282#endif
283
[email protected]cce15bb2014-06-17 13:43:51284 SupervisedUserSettingsService* GetSettingsService();
[email protected]e861bba2013-06-17 15:20:54285
bauerbd3a36cc42014-10-01 13:05:49286 size_t FindEnabledPermissionRequestCreator(size_t start);
287 void AddAccessRequestInternal(const GURL& url, size_t index);
288 void OnPermissionRequestIssued(const GURL& url, size_t index, bool success);
289
[email protected]cce15bb2014-06-17 13:43:51290 void OnSupervisedUserIdChanged();
[email protected]f085fdd52014-06-11 18:09:20291
[email protected]0850e842013-01-19 03:44:31292 void OnDefaultFilteringBehaviorChanged();
293
294 void UpdateSiteLists();
295
treibf136dfb2014-09-25 17:37:47296 // Asynchronously downloads a static blacklist file from |url|, stores it at
297 // |path|, loads it, and applies it to the URL filters. If |url| is not valid
298 // (e.g. empty), directly tries to load from |path|.
299 void LoadBlacklist(const base::FilePath& path, const GURL& url);
300
treib4edbded2014-09-05 08:43:55301 // Asynchronously loads a static blacklist from a binary file at |path| and
302 // applies it to the URL filters.
treibf136dfb2014-09-25 17:37:47303 void LoadBlacklistFromFile(const base::FilePath& path);
304
305 void OnBlacklistDownloadDone(const base::FilePath& path, bool success);
treib4edbded2014-09-05 08:43:55306
[email protected]5e022292013-02-06 16:42:17307 // Updates the manual overrides for hosts in the URL filters when the
308 // corresponding preference is changed.
309 void UpdateManualHosts();
[email protected]0850e842013-01-19 03:44:31310
[email protected]5e022292013-02-06 16:42:17311 // Updates the manual overrides for URLs in the URL filters when the
312 // corresponding preference is changed.
313 void UpdateManualURLs();
[email protected]0850e842013-01-19 03:44:31314
[email protected]0b4c6b22014-08-04 09:46:31315 // Returns the human readable name of the supervised user.
316 std::string GetSupervisedUserName() const;
317
fhorschig1f351f02014-09-30 12:30:22318 // Subscribes to the SupervisedUserPrefStore, refreshes
319 // |includes_sync_sessions_type_| and triggers reconfiguring the
320 // ProfileSyncService.
321 void OnHistoryRecordingStateChanged();
322
323 // Returns true if the syncer::SESSIONS type should be included in Sync.
324 bool IncludesSyncSessionsType() const;
325
326 // The option a custodian sets to either record or prevent recording the
327 // supervised user's history. Set by |FetchNewSessionSyncState()| and
328 // defaults to true.
329 bool includes_sync_sessions_type_;
330
[email protected]12b7af32014-03-13 05:28:20331 // Owns us via the KeyedService mechanism.
[email protected]0850e842013-01-19 03:44:31332 Profile* profile_;
333
[email protected]f085fdd52014-06-11 18:09:20334 bool active_;
335
336 Delegate* delegate_;
337
[email protected]c14a6802014-07-11 21:51:12338#if defined(ENABLE_EXTENSIONS)
[email protected]f2253ac2014-05-28 08:37:21339 ScopedObserver<extensions::ExtensionRegistry,
340 extensions::ExtensionRegistryObserver>
341 extension_registry_observer_;
[email protected]c14a6802014-07-11 21:51:12342#endif
[email protected]f2253ac2014-05-28 08:37:21343
[email protected]0850e842013-01-19 03:44:31344 PrefChangeRegistrar pref_change_registrar_;
345
[email protected]a243d644c2013-06-20 18:37:55346 // True iff we're waiting for the Sync service to be initialized.
347 bool waiting_for_sync_initialization_;
[email protected]dfddd022013-07-10 17:29:48348 bool is_profile_active_;
[email protected]a243d644c2013-06-20 18:37:55349
[email protected]438f7e12013-08-07 06:59:00350 std::vector<NavigationBlockedCallback> navigation_blocked_callbacks_;
351
[email protected]4f02aac12013-05-20 05:19:06352 // Sets a profile in elevated state for testing if set to true.
353 bool elevated_for_testing_;
[email protected]849749d2013-05-06 17:30:45354
[email protected]3a276ff2014-08-12 14:22:09355 // True only when |Init()| method has been called.
356 bool did_init_;
357
[email protected]3bf45d02013-07-10 00:03:41358 // True only when |Shutdown()| method has been called.
359 bool did_shutdown_;
360
[email protected]0850e842013-01-19 03:44:31361 URLFilterContext url_filter_context_;
treibf136dfb2014-09-25 17:37:47362 scoped_ptr<SupervisedUserBlacklistDownloader> blacklist_downloader_;
[email protected]8052b242013-11-15 16:40:55363
[email protected]4db65f952014-05-20 15:46:30364 // Used to create permission requests.
bauerbd3a36cc42014-10-01 13:05:49365 ScopedVector<PermissionRequestCreator> permissions_creators_;
[email protected]4db65f952014-05-20 15:46:30366
treibab0a39e2014-09-24 14:48:28367 ObserverList<SupervisedUserServiceObserver> observer_list_;
368
[email protected]cce15bb2014-06-17 13:43:51369 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_;
[email protected]0850e842013-01-19 03:44:31370};
371
[email protected]cce15bb2014-06-17 13:43:51372#endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_