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

Unified Diff: chrome/browser/profiles/profile.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 1f94ce848e9a0dc14d530c24308a8cd4f714676b..7fa8564e9df291a51ad62b938be99871b1494685 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -40,7 +40,6 @@ class ShortcutsBackend;
}
namespace net {
-class TransportSecurityState;
class SSLConfigService;
}
@@ -89,7 +88,6 @@ class SSLConfigServiceManager;
class SpellCheckHost;
class TemplateURLFetcher;
class TokenService;
-class TransportSecurityPersister;
class UserScriptMaster;
class UserStyleSheetWatcher;
class VisitedLinkEventListener;
@@ -277,11 +275,6 @@ class Profile : public content::BrowserContext {
virtual ExtensionSpecialStoragePolicy*
GetExtensionSpecialStoragePolicy() = 0;
- // Retrieves a pointer to the TransportSecurityState associated with
- // this profile. The TransportSecurityState is lazily created the
- // first time that this method is called.
- virtual net::TransportSecurityState* GetTransportSecurityState() = 0;
-
// Retrieves a pointer to the FaviconService associated with this
// profile. The FaviconService is lazily created the first time
// that this method is called.
@@ -504,6 +497,11 @@ class Profile : public content::BrowserContext {
// Returns the Predictor object used for dns prefetch.
virtual chrome_browser_net::Predictor* GetNetworkPredictor() = 0;
+ // Deletes transport security state since |time|. The implementation
+ // is free to run this on a background thread, so when this method
+ // returns data is not guaranteed to be deleted.
+ virtual void DeleteTransportSecurityStateSince(base::Time time) = 0;
+
std::string GetDebugName();
// Returns whether it is a guest session.
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698