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

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

Issue 7966005: Move TransportSecurityPersister completely to IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 3 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 #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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; 47 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE;
48 virtual ExtensionService* GetExtensionService() OVERRIDE; 48 virtual ExtensionService* GetExtensionService() OVERRIDE;
49 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; 49 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE;
50 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() OVERRIDE; 50 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() OVERRIDE;
51 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; 51 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE;
52 virtual ExtensionMessageService* GetExtensionMessageService() OVERRIDE; 52 virtual ExtensionMessageService* GetExtensionMessageService() OVERRIDE;
53 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; 53 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE;
54 virtual ExtensionSpecialStoragePolicy* 54 virtual ExtensionSpecialStoragePolicy*
55 GetExtensionSpecialStoragePolicy() OVERRIDE; 55 GetExtensionSpecialStoragePolicy() OVERRIDE;
56 virtual SSLHostState* GetSSLHostState() OVERRIDE; 56 virtual SSLHostState* GetSSLHostState() OVERRIDE;
57 virtual net::TransportSecurityState* GetTransportSecurityState() OVERRIDE;
58 virtual HistoryService* GetHistoryService(ServiceAccessType sat) OVERRIDE; 57 virtual HistoryService* GetHistoryService(ServiceAccessType sat) OVERRIDE;
59 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; 58 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
60 virtual FaviconService* GetFaviconService(ServiceAccessType sat) OVERRIDE; 59 virtual FaviconService* GetFaviconService(ServiceAccessType sat) OVERRIDE;
61 virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE; 60 virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE;
62 virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE; 61 virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE;
63 virtual WebDataService* GetWebDataService(ServiceAccessType sat) OVERRIDE; 62 virtual WebDataService* GetWebDataService(ServiceAccessType sat) OVERRIDE;
64 virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE; 63 virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE;
65 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat) OVERRIDE; 64 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat) OVERRIDE;
66 virtual PrefService* GetPrefs() OVERRIDE; 65 virtual PrefService* GetPrefs() OVERRIDE;
67 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 66 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 123
125 #if defined(OS_CHROMEOS) 124 #if defined(OS_CHROMEOS)
126 virtual void ChangeAppLocale(const std::string& locale, 125 virtual void ChangeAppLocale(const std::string& locale,
127 AppLocaleChangedVia) OVERRIDE; 126 AppLocaleChangedVia) OVERRIDE;
128 virtual void OnLogin() OVERRIDE; 127 virtual void OnLogin() OVERRIDE;
129 #endif // defined(OS_CHROMEOS) 128 #endif // defined(OS_CHROMEOS)
130 129
131 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 130 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
132 virtual prerender::PrerenderManager* GetPrerenderManager() OVERRIDE; 131 virtual prerender::PrerenderManager* GetPrerenderManager() OVERRIDE;
133 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 132 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
133 virtual void DeleteTransportSecurityStateSince(base::Time time) OVERRIDE;
134 134
135 // NotificationObserver implementation. 135 // NotificationObserver implementation.
136 virtual void Observe(int type, 136 virtual void Observe(int type,
137 const NotificationSource& source, 137 const NotificationSource& source,
138 const NotificationDetails& details) OVERRIDE; 138 const NotificationDetails& details) OVERRIDE;
139 139
140 private: 140 private:
141 virtual void SetDownloadManagerDelegate( 141 virtual void SetDownloadManagerDelegate(
142 ChromeDownloadManagerDelegate* delegate) OVERRIDE; 142 ChromeDownloadManagerDelegate* delegate) OVERRIDE;
143 143
(...skipping 29 matching lines...) Expand all
173 173
174 // We don't want SSLHostState from the OTR profile to leak back to the main 174 // We don't want SSLHostState from the OTR profile to leak back to the main
175 // profile because then the main profile would learn some of the host names 175 // profile because then the main profile would learn some of the host names
176 // the user visited while OTR. 176 // the user visited while OTR.
177 scoped_ptr<SSLHostState> ssl_host_state_; 177 scoped_ptr<SSLHostState> ssl_host_state_;
178 178
179 // Use a separate FindBarState so search terms do not leak back to the main 179 // Use a separate FindBarState so search terms do not leak back to the main
180 // profile. 180 // profile.
181 scoped_ptr<FindBarState> find_bar_state_; 181 scoped_ptr<FindBarState> find_bar_state_;
182 182
183 // The TransportSecurityState that only stores enabled sites in memory.
184 scoped_refptr<net::TransportSecurityState>
185 transport_security_state_;
186
187 // Time we were started. 183 // Time we were started.
188 Time start_time_; 184 Time start_time_;
189 185
190 scoped_refptr<ChromeAppCacheService> appcache_service_; 186 scoped_refptr<ChromeAppCacheService> appcache_service_;
191 187
192 // The main database tracker for this profile. 188 // The main database tracker for this profile.
193 // Should be used only on the file thread. 189 // Should be used only on the file thread.
194 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 190 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
195 191
196 FilePath last_selected_directory_; 192 FilePath last_selected_directory_;
197 193
198 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 194 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
199 195
200 // The file_system context for this profile. 196 // The file_system context for this profile.
201 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 197 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
202 198
203 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 199 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
204 200
205 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 201 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
206 202
207 scoped_refptr<quota::QuotaManager> quota_manager_; 203 scoped_refptr<quota::QuotaManager> quota_manager_;
208 204
209 // Used read-only.
210 scoped_refptr<TransportSecurityPersister> transport_security_loader_;
211
212 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 205 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
213 }; 206 };
214 207
215 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 208 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698