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

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(
134 const base::Time& time) OVERRIDE;
willchan no longer on Chromium 2011/09/20 19:09:04 btw, Time is an int64 so passing by reference does
Paweł Hajdan Jr. 2011/09/21 17:59:19 Done. I didn't know.
134 135
135 // NotificationObserver implementation. 136 // NotificationObserver implementation.
136 virtual void Observe(int type, 137 virtual void Observe(int type,
137 const NotificationSource& source, 138 const NotificationSource& source,
138 const NotificationDetails& details) OVERRIDE; 139 const NotificationDetails& details) OVERRIDE;
139 140
140 private: 141 private:
141 virtual void SetDownloadManagerDelegate( 142 virtual void SetDownloadManagerDelegate(
142 ChromeDownloadManagerDelegate* delegate) OVERRIDE; 143 ChromeDownloadManagerDelegate* delegate) OVERRIDE;
143 144
(...skipping 29 matching lines...) Expand all
173 174
174 // We don't want SSLHostState from the OTR profile to leak back to the main 175 // 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 176 // profile because then the main profile would learn some of the host names
176 // the user visited while OTR. 177 // the user visited while OTR.
177 scoped_ptr<SSLHostState> ssl_host_state_; 178 scoped_ptr<SSLHostState> ssl_host_state_;
178 179
179 // Use a separate FindBarState so search terms do not leak back to the main 180 // Use a separate FindBarState so search terms do not leak back to the main
180 // profile. 181 // profile.
181 scoped_ptr<FindBarState> find_bar_state_; 182 scoped_ptr<FindBarState> find_bar_state_;
182 183
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. 184 // Time we were started.
188 Time start_time_; 185 Time start_time_;
189 186
190 scoped_refptr<ChromeAppCacheService> appcache_service_; 187 scoped_refptr<ChromeAppCacheService> appcache_service_;
191 188
192 // The main database tracker for this profile. 189 // The main database tracker for this profile.
193 // Should be used only on the file thread. 190 // Should be used only on the file thread.
194 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 191 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
195 192
196 FilePath last_selected_directory_; 193 FilePath last_selected_directory_;
197 194
198 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 195 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
199 196
200 // The file_system context for this profile. 197 // The file_system context for this profile.
201 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 198 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
202 199
203 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 200 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
204 201
205 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 202 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
206 203
207 scoped_refptr<quota::QuotaManager> quota_manager_; 204 scoped_refptr<quota::QuotaManager> quota_manager_;
208 205
209 // Used read-only.
210 scoped_refptr<TransportSecurityPersister> transport_security_loader_;
211
212 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 206 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
213 }; 207 };
214 208
215 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 209 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698