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

Side by Side Diff: chrome/browser/profile.h

Issue 2862041: Remove abonded privacy blacklist implementation. (Closed)
Patch Set: fix unit tests Created 10 years, 5 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
« no previous file with comments | « chrome/browser/privacy_blacklist/blacklist_unittest.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILE_H_
8 #define CHROME_BROWSER_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILE_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 19 matching lines...) Expand all
30 class TransportSecurityState; 30 class TransportSecurityState;
31 class SSLConfigService; 31 class SSLConfigService;
32 } 32 }
33 33
34 namespace webkit_database { 34 namespace webkit_database {
35 class DatabaseTracker; 35 class DatabaseTracker;
36 } 36 }
37 37
38 class AutocompleteClassifier; 38 class AutocompleteClassifier;
39 class BackgroundContentsService; 39 class BackgroundContentsService;
40 class Blacklist;
41 class BookmarkModel; 40 class BookmarkModel;
42 class BrowserThemeProvider; 41 class BrowserThemeProvider;
43 class ChromeURLRequestContextGetter; 42 class ChromeURLRequestContextGetter;
44 class DesktopNotificationService; 43 class DesktopNotificationService;
45 class DownloadManager; 44 class DownloadManager;
46 class Extension; 45 class Extension;
47 class ExtensionDevToolsManager; 46 class ExtensionDevToolsManager;
48 class ExtensionProcessManager; 47 class ExtensionProcessManager;
49 class ExtensionMessageService; 48 class ExtensionMessageService;
50 class ExtensionsService; 49 class ExtensionsService;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 324
326 // Returns the Hostname <-> Zoom Level map for this profile. 325 // Returns the Hostname <-> Zoom Level map for this profile.
327 virtual HostZoomMap* GetHostZoomMap() = 0; 326 virtual HostZoomMap* GetHostZoomMap() = 0;
328 327
329 // Returns the geolocation settings map for this profile. 328 // Returns the geolocation settings map for this profile.
330 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0; 329 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0;
331 330
332 // Returns the geolocation permission context for this profile. 331 // Returns the geolocation permission context for this profile.
333 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; 332 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0;
334 333
335 // Returns the Privacy Blacklist for this profile.
336 virtual Blacklist* GetPrivacyBlacklist() = 0;
337
338 // Returns the user style sheet watcher. 334 // Returns the user style sheet watcher.
339 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; 335 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0;
340 336
341 // Returns the find bar state for this profile. The find bar state is lazily 337 // Returns the find bar state for this profile. The find bar state is lazily
342 // created the first time that this method is called. 338 // created the first time that this method is called.
343 virtual FindBarState* GetFindBarState() = 0; 339 virtual FindBarState* GetFindBarState() = 0;
344 340
345 // Returns the session service for this profile. This may return NULL. If 341 // Returns the session service for this profile. This may return NULL. If
346 // this profile supports a session service (it isn't off the record), and 342 // this profile supports a session service (it isn't off the record), and
347 // the session service hasn't yet been created, this forces creation of 343 // the session service hasn't yet been created, this forces creation of
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 virtual URLRequestContextGetter* GetRequestContext(); 514 virtual URLRequestContextGetter* GetRequestContext();
519 virtual URLRequestContextGetter* GetRequestContextForMedia(); 515 virtual URLRequestContextGetter* GetRequestContextForMedia();
520 virtual URLRequestContextGetter* GetRequestContextForExtensions(); 516 virtual URLRequestContextGetter* GetRequestContextForExtensions();
521 virtual void RegisterExtensionWithRequestContexts(Extension* extension); 517 virtual void RegisterExtensionWithRequestContexts(Extension* extension);
522 virtual void UnregisterExtensionWithRequestContexts(Extension* extension); 518 virtual void UnregisterExtensionWithRequestContexts(Extension* extension);
523 virtual net::SSLConfigService* GetSSLConfigService(); 519 virtual net::SSLConfigService* GetSSLConfigService();
524 virtual HostContentSettingsMap* GetHostContentSettingsMap(); 520 virtual HostContentSettingsMap* GetHostContentSettingsMap();
525 virtual HostZoomMap* GetHostZoomMap(); 521 virtual HostZoomMap* GetHostZoomMap();
526 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap(); 522 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
527 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); 523 virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
528 virtual Blacklist* GetPrivacyBlacklist();
529 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); 524 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
530 virtual FindBarState* GetFindBarState(); 525 virtual FindBarState* GetFindBarState();
531 virtual SessionService* GetSessionService(); 526 virtual SessionService* GetSessionService();
532 virtual void ShutdownSessionService(); 527 virtual void ShutdownSessionService();
533 virtual bool HasSessionService() const; 528 virtual bool HasSessionService() const;
534 virtual bool DidLastSessionExitCleanly(); 529 virtual bool DidLastSessionExitCleanly();
535 virtual BookmarkModel* GetBookmarkModel(); 530 virtual BookmarkModel* GetBookmarkModel();
536 virtual bool IsSameProfile(Profile* profile); 531 virtual bool IsSameProfile(Profile* profile);
537 virtual base::Time GetStartTime() const; 532 virtual base::Time GetStartTime() const;
538 virtual TabRestoreService* GetTabRestoreService(); 533 virtual TabRestoreService* GetTabRestoreService();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_; 611 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_;
617 612
618 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 613 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
619 614
620 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 615 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
621 scoped_refptr<HostZoomMap> host_zoom_map_; 616 scoped_refptr<HostZoomMap> host_zoom_map_;
622 scoped_refptr<GeolocationContentSettingsMap> 617 scoped_refptr<GeolocationContentSettingsMap>
623 geolocation_content_settings_map_; 618 geolocation_content_settings_map_;
624 scoped_refptr<GeolocationPermissionContext> 619 scoped_refptr<GeolocationPermissionContext>
625 geolocation_permission_context_; 620 geolocation_permission_context_;
626 scoped_refptr<Blacklist> privacy_blacklist_;
627 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 621 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
628 scoped_ptr<FindBarState> find_bar_state_; 622 scoped_ptr<FindBarState> find_bar_state_;
629 scoped_refptr<DownloadManager> download_manager_; 623 scoped_refptr<DownloadManager> download_manager_;
630 scoped_refptr<HistoryService> history_service_; 624 scoped_refptr<HistoryService> history_service_;
631 scoped_refptr<FaviconService> favicon_service_; 625 scoped_refptr<FaviconService> favicon_service_;
632 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 626 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
633 scoped_refptr<WebDataService> web_data_service_; 627 scoped_refptr<WebDataService> web_data_service_;
634 scoped_refptr<PasswordStore> password_store_; 628 scoped_refptr<PasswordStore> password_store_;
635 scoped_refptr<SessionService> session_service_; 629 scoped_refptr<SessionService> session_service_;
636 scoped_ptr<BrowserThemeProvider> theme_provider_; 630 scoped_ptr<BrowserThemeProvider> theme_provider_;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 668 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
675 669
676 #if defined(OS_CHROMEOS) 670 #if defined(OS_CHROMEOS)
677 chromeos::Preferences chromeos_preferences_; 671 chromeos::Preferences chromeos_preferences_;
678 #endif 672 #endif
679 673
680 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 674 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
681 }; 675 };
682 676
683 #endif // CHROME_BROWSER_PROFILE_H_ 677 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/privacy_blacklist/blacklist_unittest.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698