OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 72 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
73 int renderer_child_id) OVERRIDE; | 73 int renderer_child_id) OVERRIDE; |
74 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 74 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
75 virtual net::URLRequestContextGetter* | 75 virtual net::URLRequestContextGetter* |
76 GetRequestContextForExtensions() OVERRIDE; | 76 GetRequestContextForExtensions() OVERRIDE; |
77 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 77 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
78 const std::string& app_id) OVERRIDE; | 78 const std::string& app_id) OVERRIDE; |
79 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; | 79 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; |
80 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 80 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
81 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 81 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
82 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 82 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE; |
83 virtual content::GeolocationPermissionContext* | 83 virtual content::GeolocationPermissionContext* |
84 GetGeolocationPermissionContext() OVERRIDE; | 84 GetGeolocationPermissionContext() OVERRIDE; |
85 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 85 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
86 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; | 86 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; |
87 virtual bool HasProfileSyncService() OVERRIDE; | 87 virtual bool HasProfileSyncService() OVERRIDE; |
88 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 88 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
89 virtual BookmarkModel* GetBookmarkModel() OVERRIDE; | 89 virtual BookmarkModel* GetBookmarkModel() OVERRIDE; |
90 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 90 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
91 virtual TokenService* GetTokenService() OVERRIDE; | 91 virtual TokenService* GetTokenService() OVERRIDE; |
92 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; | 92 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 // Must be freed before |io_data_|. While |extension_process_manager_| still | 147 // Must be freed before |io_data_|. While |extension_process_manager_| still |
148 // lives, we handle incoming resource requests from extension processes and | 148 // lives, we handle incoming resource requests from extension processes and |
149 // those require access to the ResourceContext owned by |io_data_|. | 149 // those require access to the ResourceContext owned by |io_data_|. |
150 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 150 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
151 | 151 |
152 // We use a non-persistent content settings map for OTR. | 152 // We use a non-persistent content settings map for OTR. |
153 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 153 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
154 | 154 |
155 // Use a separate zoom map for OTR. | 155 // Use a separate zoom map for OTR. |
156 scoped_refptr<HostZoomMap> host_zoom_map_; | 156 scoped_refptr<content::HostZoomMap> host_zoom_map_; |
157 | 157 |
158 // Use a special WebKit context for OTR browsing. | 158 // Use a special WebKit context for OTR browsing. |
159 scoped_refptr<WebKitContext> webkit_context_; | 159 scoped_refptr<WebKitContext> webkit_context_; |
160 | 160 |
161 // We don't want SSLHostState from the OTR profile to leak back to the main | 161 // We don't want SSLHostState from the OTR profile to leak back to the main |
162 // profile because then the main profile would learn some of the host names | 162 // profile because then the main profile would learn some of the host names |
163 // the user visited while OTR. | 163 // the user visited while OTR. |
164 scoped_ptr<SSLHostState> ssl_host_state_; | 164 scoped_ptr<SSLHostState> ssl_host_state_; |
165 | 165 |
166 // Time we were started. | 166 // Time we were started. |
(...skipping 15 matching lines...) Expand all Loading... |
182 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 182 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
183 | 183 |
184 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 184 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
185 | 185 |
186 scoped_refptr<quota::QuotaManager> quota_manager_; | 186 scoped_refptr<quota::QuotaManager> quota_manager_; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 188 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
189 }; | 189 }; |
190 | 190 |
191 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 191 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |