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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 7484072: Migrate geolocation settings to host content settings map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string>
12
11 #include "base/file_path.h" 13 #include "base/file_path.h"
12 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/timer.h" 16 #include "base/timer.h"
15 #include "chrome/browser/prefs/pref_change_registrar.h" 17 #include "chrome/browser/prefs/pref_change_registrar.h"
16 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_impl_io_data.h" 19 #include "chrome/browser/profiles/profile_impl_io_data.h"
18 #include "chrome/browser/spellchecker/spellcheck_host_observer.h" 20 #include "chrome/browser/spellchecker/spellcheck_host_observer.h"
19 #include "content/common/notification_observer.h" 21 #include "content/common/notification_observer.h"
20 #include "content/common/notification_registrar.h" 22 #include "content/common/notification_registrar.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( 92 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp(
91 const std::string& app_id); 93 const std::string& app_id);
92 virtual const content::ResourceContext& GetResourceContext(); 94 virtual const content::ResourceContext& GetResourceContext();
93 virtual void RegisterExtensionWithRequestContexts(const Extension* extension); 95 virtual void RegisterExtensionWithRequestContexts(const Extension* extension);
94 virtual void UnregisterExtensionWithRequestContexts( 96 virtual void UnregisterExtensionWithRequestContexts(
95 const std::string& extension_id, 97 const std::string& extension_id,
96 const UnloadedExtensionInfo::Reason reason); 98 const UnloadedExtensionInfo::Reason reason);
97 virtual net::SSLConfigService* GetSSLConfigService(); 99 virtual net::SSLConfigService* GetSSLConfigService();
98 virtual HostContentSettingsMap* GetHostContentSettingsMap(); 100 virtual HostContentSettingsMap* GetHostContentSettingsMap();
99 virtual HostZoomMap* GetHostZoomMap(); 101 virtual HostZoomMap* GetHostZoomMap();
100 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
101 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); 102 virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
102 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); 103 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
103 virtual FindBarState* GetFindBarState(); 104 virtual FindBarState* GetFindBarState();
104 virtual bool HasProfileSyncService() const; 105 virtual bool HasProfileSyncService() const;
105 virtual bool DidLastSessionExitCleanly(); 106 virtual bool DidLastSessionExitCleanly();
106 virtual BookmarkModel* GetBookmarkModel(); 107 virtual BookmarkModel* GetBookmarkModel();
107 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); 108 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
108 virtual bool IsSameProfile(Profile* profile); 109 virtual bool IsSameProfile(Profile* profile);
109 virtual base::Time GetStartTime() const; 110 virtual base::Time GetStartTime() const;
110 virtual SpellCheckHost* GetSpellCheckHost(); 111 virtual SpellCheckHost* GetSpellCheckHost();
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; 223 scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
223 scoped_ptr<ProfileSyncService> sync_service_; 224 scoped_ptr<ProfileSyncService> sync_service_;
224 scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_; 225 scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_;
225 226
226 ProfileImplIOData::Handle io_data_; 227 ProfileImplIOData::Handle io_data_;
227 228
228 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 229 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
229 230
230 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 231 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
231 scoped_refptr<HostZoomMap> host_zoom_map_; 232 scoped_refptr<HostZoomMap> host_zoom_map_;
232 scoped_refptr<GeolocationContentSettingsMap>
233 geolocation_content_settings_map_;
234 scoped_refptr<GeolocationPermissionContext> 233 scoped_refptr<GeolocationPermissionContext>
235 geolocation_permission_context_; 234 geolocation_permission_context_;
236 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 235 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
237 scoped_ptr<FindBarState> find_bar_state_; 236 scoped_ptr<FindBarState> find_bar_state_;
238 scoped_ptr<ChromeDownloadManagerDelegate> download_manager_delegate_; 237 scoped_ptr<ChromeDownloadManagerDelegate> download_manager_delegate_;
239 scoped_refptr<DownloadManager> download_manager_; 238 scoped_refptr<DownloadManager> download_manager_;
240 scoped_refptr<HistoryService> history_service_; 239 scoped_refptr<HistoryService> history_service_;
241 scoped_refptr<FaviconService> favicon_service_; 240 scoped_refptr<FaviconService> favicon_service_;
242 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 241 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
243 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 242 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
303 302
304 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 303 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
305 304
306 Profile::Delegate* delegate_; 305 Profile::Delegate* delegate_;
307 306
308 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
309 }; 308 };
310 309
311 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698