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

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

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Sync'd, disallow non-same origin rph, adds hostname to the infobar. Created 9 years, 10 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
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap(); 96 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
97 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); 97 virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
98 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); 98 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
99 virtual FindBarState* GetFindBarState(); 99 virtual FindBarState* GetFindBarState();
100 virtual SessionService* GetSessionService(); 100 virtual SessionService* GetSessionService();
101 virtual void ShutdownSessionService(); 101 virtual void ShutdownSessionService();
102 virtual bool HasSessionService() const; 102 virtual bool HasSessionService() const;
103 virtual bool HasProfileSyncService() const; 103 virtual bool HasProfileSyncService() const;
104 virtual bool DidLastSessionExitCleanly(); 104 virtual bool DidLastSessionExitCleanly();
105 virtual BookmarkModel* GetBookmarkModel(); 105 virtual BookmarkModel* GetBookmarkModel();
106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
106 virtual bool IsSameProfile(Profile* profile); 107 virtual bool IsSameProfile(Profile* profile);
107 virtual base::Time GetStartTime() const; 108 virtual base::Time GetStartTime() const;
108 virtual TabRestoreService* GetTabRestoreService(); 109 virtual TabRestoreService* GetTabRestoreService();
109 virtual void ResetTabRestoreService(); 110 virtual void ResetTabRestoreService();
110 virtual SpellCheckHost* GetSpellCheckHost(); 111 virtual SpellCheckHost* GetSpellCheckHost();
111 virtual void ReinitializeSpellCheckHost(bool force); 112 virtual void ReinitializeSpellCheckHost(bool force);
112 virtual WebKitContext* GetWebKitContext(); 113 virtual WebKitContext* GetWebKitContext();
113 virtual DesktopNotificationService* GetDesktopNotificationService(); 114 virtual DesktopNotificationService* GetDesktopNotificationService();
114 virtual BackgroundContentsService* GetBackgroundContentsService() const; 115 virtual BackgroundContentsService* GetBackgroundContentsService() const;
115 virtual StatusTray* GetStatusTray(); 116 virtual StatusTray* GetStatusTray();
116 virtual void MarkAsCleanShutdown(); 117 virtual void MarkAsCleanShutdown();
117 virtual void InitExtensions(); 118 virtual void InitExtensions();
118 virtual void InitPromoResources(); 119 virtual void InitPromoResources();
120 virtual void InitRegisteredProtocolHandlers();
119 virtual NTPResourceCache* GetNTPResourceCache(); 121 virtual NTPResourceCache* GetNTPResourceCache();
120 virtual FilePath last_selected_directory(); 122 virtual FilePath last_selected_directory();
121 virtual void set_last_selected_directory(const FilePath& path); 123 virtual void set_last_selected_directory(const FilePath& path);
122 virtual ProfileSyncService* GetProfileSyncService(); 124 virtual ProfileSyncService* GetProfileSyncService();
123 virtual ProfileSyncService* GetProfileSyncService( 125 virtual ProfileSyncService* GetProfileSyncService(
124 const std::string& cros_user); 126 const std::string& cros_user);
125 virtual TokenService* GetTokenService(); 127 virtual TokenService* GetTokenService();
126 void InitSyncService(const std::string& cros_user); 128 void InitSyncService(const std::string& cros_user);
127 virtual CloudPrintProxyService* GetCloudPrintProxyService(); 129 virtual CloudPrintProxyService* GetCloudPrintProxyService();
128 void InitCloudPrintProxyService(); 130 void InitCloudPrintProxyService();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 scoped_refptr<net::TransportSecurityState> 205 scoped_refptr<net::TransportSecurityState>
204 transport_security_state_; 206 transport_security_state_;
205 scoped_refptr<TransportSecurityPersister> 207 scoped_refptr<TransportSecurityPersister>
206 transport_security_persister_; 208 transport_security_persister_;
207 scoped_ptr<policy::ProfilePolicyContext> profile_policy_context_; 209 scoped_ptr<policy::ProfilePolicyContext> profile_policy_context_;
208 scoped_ptr<NetPrefObserver> net_pref_observer_; 210 scoped_ptr<NetPrefObserver> net_pref_observer_;
209 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; 211 scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
210 scoped_ptr<TemplateURLModel> template_url_model_; 212 scoped_ptr<TemplateURLModel> template_url_model_;
211 scoped_ptr<BookmarkModel> bookmark_bar_model_; 213 scoped_ptr<BookmarkModel> bookmark_bar_model_;
212 scoped_refptr<PromoResourceService> promo_resource_service_; 214 scoped_refptr<PromoResourceService> promo_resource_service_;
215 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
213 scoped_ptr<NTPResourceCache> ntp_resource_cache_; 216 scoped_ptr<NTPResourceCache> ntp_resource_cache_;
214 217
215 scoped_ptr<TokenService> token_service_; 218 scoped_ptr<TokenService> token_service_;
216 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; 219 scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
217 scoped_ptr<ProfileSyncService> sync_service_; 220 scoped_ptr<ProfileSyncService> sync_service_;
218 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; 221 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_;
219 222
220 ProfileImplIOData::Handle io_data_; 223 ProfileImplIOData::Handle io_data_;
221 224
222 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 225 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 310 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
308 311
309 scoped_refptr<prerender::PrerenderManager> prerender_manager_; 312 scoped_refptr<prerender::PrerenderManager> prerender_manager_;
310 313
311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 314 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
312 315
313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 316 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
314 }; 317 };
315 318
316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 319 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698