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

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

Issue 1084005: Add GeolocationContentSettingsMap, a geolocation-specific variant of HostCont... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | Annotate | Revision Log
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 24 matching lines...) Expand all
35 class BrowserThemeProvider; 35 class BrowserThemeProvider;
36 class ChromeURLRequestContextGetter; 36 class ChromeURLRequestContextGetter;
37 class DesktopNotificationService; 37 class DesktopNotificationService;
38 class DownloadManager; 38 class DownloadManager;
39 class Extension; 39 class Extension;
40 class ExtensionDevToolsManager; 40 class ExtensionDevToolsManager;
41 class ExtensionProcessManager; 41 class ExtensionProcessManager;
42 class ExtensionMessageService; 42 class ExtensionMessageService;
43 class ExtensionsService; 43 class ExtensionsService;
44 class FaviconService; 44 class FaviconService;
45 class GeolocationContentSettingsMap;
45 class HistoryService; 46 class HistoryService;
46 class HostContentSettingsMap; 47 class HostContentSettingsMap;
47 class HostZoomMap; 48 class HostZoomMap;
48 class NavigationController; 49 class NavigationController;
49 class NTPResourceCache; 50 class NTPResourceCache;
50 class PasswordStore; 51 class PasswordStore;
51 class PersonalDataManager; 52 class PersonalDataManager;
52 class PinnedTabService; 53 class PinnedTabService;
53 class PrefService; 54 class PrefService;
54 class ProfileSyncService; 55 class ProfileSyncService;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 292
292 // Returns the SSLConfigService for this profile. 293 // Returns the SSLConfigService for this profile.
293 virtual net::SSLConfigService* GetSSLConfigService() = 0; 294 virtual net::SSLConfigService* GetSSLConfigService() = 0;
294 295
295 // Returns the Hostname <-> Content settings map for this profile. 296 // Returns the Hostname <-> Content settings map for this profile.
296 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0; 297 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0;
297 298
298 // Returns the Hostname <-> Zoom Level map for this profile. 299 // Returns the Hostname <-> Zoom Level map for this profile.
299 virtual HostZoomMap* GetHostZoomMap() = 0; 300 virtual HostZoomMap* GetHostZoomMap() = 0;
300 301
302 // Returns the geolocation settings map for this profile.
303 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0;
304
301 // Returns the Privacy Blacklist for this profile. 305 // Returns the Privacy Blacklist for this profile.
302 virtual Blacklist* GetPrivacyBlacklist() = 0; 306 virtual Blacklist* GetPrivacyBlacklist() = 0;
303 307
304 // Returns the user style sheet watcher. 308 // Returns the user style sheet watcher.
305 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0; 309 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0;
306 310
307 // Returns the session service for this profile. This may return NULL. If 311 // Returns the session service for this profile. This may return NULL. If
308 // this profile supports a session service (it isn't off the record), and 312 // this profile supports a session service (it isn't off the record), and
309 // the session service hasn't yet been created, this forces creation of 313 // the session service hasn't yet been created, this forces creation of
310 // the session service. 314 // the session service.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 virtual Extension* GetTheme(); 468 virtual Extension* GetTheme();
465 virtual BrowserThemeProvider* GetThemeProvider(); 469 virtual BrowserThemeProvider* GetThemeProvider();
466 virtual ThumbnailStore* GetThumbnailStore(); 470 virtual ThumbnailStore* GetThumbnailStore();
467 virtual bool HasCreatedDownloadManager() const; 471 virtual bool HasCreatedDownloadManager() const;
468 virtual URLRequestContextGetter* GetRequestContext(); 472 virtual URLRequestContextGetter* GetRequestContext();
469 virtual URLRequestContextGetter* GetRequestContextForMedia(); 473 virtual URLRequestContextGetter* GetRequestContextForMedia();
470 virtual URLRequestContextGetter* GetRequestContextForExtensions(); 474 virtual URLRequestContextGetter* GetRequestContextForExtensions();
471 virtual net::SSLConfigService* GetSSLConfigService(); 475 virtual net::SSLConfigService* GetSSLConfigService();
472 virtual HostContentSettingsMap* GetHostContentSettingsMap(); 476 virtual HostContentSettingsMap* GetHostContentSettingsMap();
473 virtual HostZoomMap* GetHostZoomMap(); 477 virtual HostZoomMap* GetHostZoomMap();
478 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
474 virtual Blacklist* GetPrivacyBlacklist(); 479 virtual Blacklist* GetPrivacyBlacklist();
475 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); 480 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
476 virtual SessionService* GetSessionService(); 481 virtual SessionService* GetSessionService();
477 virtual void ShutdownSessionService(); 482 virtual void ShutdownSessionService();
478 virtual bool HasSessionService() const; 483 virtual bool HasSessionService() const;
479 virtual bool DidLastSessionExitCleanly(); 484 virtual bool DidLastSessionExitCleanly();
480 virtual BookmarkModel* GetBookmarkModel(); 485 virtual BookmarkModel* GetBookmarkModel();
481 virtual bool IsSameProfile(Profile* profile); 486 virtual bool IsSameProfile(Profile* profile);
482 virtual base::Time GetStartTime() const; 487 virtual base::Time GetStartTime() const;
483 virtual TabRestoreService* GetTabRestoreService(); 488 virtual TabRestoreService* GetTabRestoreService();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 scoped_refptr<ChromeURLRequestContextGetter> request_context_; 556 scoped_refptr<ChromeURLRequestContextGetter> request_context_;
552 557
553 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_; 558 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_;
554 559
555 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_; 560 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_;
556 561
557 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 562 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
558 563
559 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 564 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
560 scoped_refptr<HostZoomMap> host_zoom_map_; 565 scoped_refptr<HostZoomMap> host_zoom_map_;
566 scoped_refptr<GeolocationContentSettingsMap>
567 geolocation_content_settings_map_;
561 scoped_refptr<Blacklist> privacy_blacklist_; 568 scoped_refptr<Blacklist> privacy_blacklist_;
562 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 569 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
563 scoped_refptr<DownloadManager> download_manager_; 570 scoped_refptr<DownloadManager> download_manager_;
564 scoped_refptr<HistoryService> history_service_; 571 scoped_refptr<HistoryService> history_service_;
565 scoped_refptr<FaviconService> favicon_service_; 572 scoped_refptr<FaviconService> favicon_service_;
566 scoped_ptr<SearchVersusNavigateClassifier> search_versus_navigate_classifier_; 573 scoped_ptr<SearchVersusNavigateClassifier> search_versus_navigate_classifier_;
567 scoped_refptr<WebDataService> web_data_service_; 574 scoped_refptr<WebDataService> web_data_service_;
568 scoped_refptr<PasswordStore> password_store_; 575 scoped_refptr<PasswordStore> password_store_;
569 scoped_refptr<SessionService> session_service_; 576 scoped_refptr<SessionService> session_service_;
570 scoped_ptr<BrowserThemeProvider> theme_provider_; 577 scoped_ptr<BrowserThemeProvider> theme_provider_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 612 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
606 613
607 #if defined(OS_CHROMEOS) 614 #if defined(OS_CHROMEOS)
608 chromeos::Preferences chromeos_preferences_; 615 chromeos::Preferences chromeos_preferences_;
609 #endif 616 #endif
610 617
611 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 618 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
612 }; 619 };
613 620
614 #endif // CHROME_BROWSER_PROFILE_H_ 621 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698