Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/supervised_user/supervised_user_service.h

Issue 1265983007: Popular sites on the NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/browser_list_observer.h" 23 #include "chrome/browser/ui/browser_list_observer.h"
24 #include "components/keyed_service/core/keyed_service.h" 24 #include "components/keyed_service/core/keyed_service.h"
25 #include "components/sync_driver/sync_service_observer.h" 25 #include "components/sync_driver/sync_service_observer.h"
26 #include "net/url_request/url_request_context_getter.h" 26 #include "net/url_request/url_request_context_getter.h"
27 27
28 #if defined(ENABLE_EXTENSIONS) 28 #if defined(ENABLE_EXTENSIONS)
29 #include "extensions/browser/management_policy.h" 29 #include "extensions/browser/management_policy.h"
30 #endif 30 #endif
31 31
32 class Browser; 32 class Browser;
33 class FileDownloader;
33 class GoogleServiceAuthError; 34 class GoogleServiceAuthError;
34 class PermissionRequestCreator; 35 class PermissionRequestCreator;
35 class Profile; 36 class Profile;
36 class SupervisedUserBlacklistDownloader;
37 class SupervisedUserRegistrationUtility; 37 class SupervisedUserRegistrationUtility;
38 class SupervisedUserServiceObserver; 38 class SupervisedUserServiceObserver;
39 class SupervisedUserSettingsService; 39 class SupervisedUserSettingsService;
40 class SupervisedUserSiteList; 40 class SupervisedUserSiteList;
41 class SupervisedUserURLFilter; 41 class SupervisedUserURLFilter;
42 class SupervisedUserWhitelistService; 42 class SupervisedUserWhitelistService;
43 43
44 namespace base { 44 namespace base {
45 class FilePath; 45 class FilePath;
46 class Version; 46 class Version;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 std::vector<NavigationBlockedCallback> navigation_blocked_callbacks_; 338 std::vector<NavigationBlockedCallback> navigation_blocked_callbacks_;
339 339
340 // True only when |Init()| method has been called. 340 // True only when |Init()| method has been called.
341 bool did_init_; 341 bool did_init_;
342 342
343 // True only when |Shutdown()| method has been called. 343 // True only when |Shutdown()| method has been called.
344 bool did_shutdown_; 344 bool did_shutdown_;
345 345
346 URLFilterContext url_filter_context_; 346 URLFilterContext url_filter_context_;
347 scoped_ptr<SupervisedUserBlacklistDownloader> blacklist_downloader_; 347 scoped_ptr<FileDownloader> blacklist_downloader_;
348 348
349 scoped_ptr<SupervisedUserWhitelistService> whitelist_service_; 349 scoped_ptr<SupervisedUserWhitelistService> whitelist_service_;
350 350
351 // Used to create permission requests. 351 // Used to create permission requests.
352 ScopedVector<PermissionRequestCreator> permissions_creators_; 352 ScopedVector<PermissionRequestCreator> permissions_creators_;
353 353
354 base::ObserverList<SupervisedUserServiceObserver> observer_list_; 354 base::ObserverList<SupervisedUserServiceObserver> observer_list_;
355 355
356 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; 356 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_;
357 }; 357 };
358 358
359 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ 359 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698