Index: chrome/browser/profiles/profile_impl_io_data.h |
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h |
index 55740c584ec2b64583cae80c5778056da2909e35..7c296cf9003d0a5ef801f0ef471cc73b20ce5653 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.h |
+++ b/chrome/browser/profiles/profile_impl_io_data.h |
@@ -71,7 +71,12 @@ class ProfileImplIOData : public ProfileIOData { |
GetIsolatedMediaRequestContextGetter( |
const std::string& app_id) const; |
- void ClearNetworkingHistorySince(base::Time time); |
+ // Deletes all network related data since |time|. It deletes transport |
+ // security state since |time| and also deletes HttpServerProperties data. |
+ // Works asynchronously, however if the |completion| callback is non-null, |
+ // it will be posted on the UI thread once the removal process completes. |
+ void ClearNetworkingHistorySince(base::Time time, |
+ const base::Closure& completion); |
private: |
typedef base::hash_map<std::string, |
@@ -167,8 +172,12 @@ class ProfileImplIOData : public ProfileIOData { |
net::FtpTransactionFactory* ftp_transaction_factory, |
net::FtpAuthCache* ftp_auth_cache) const; |
- // Clears the networking history since |time|. |
- void ClearNetworkingHistorySinceOnIOThread(base::Time time); |
+ // Deletes all network related data since |time|. It deletes transport |
+ // security state since |time| and also deletes HttpServerProperties data. |
+ // Works asynchronously, however if the |completion| callback is non-null, |
+ // it will be posted on the UI thread once the removal process completes. |
+ void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
+ const base::Closure& completion); |
// Lazy initialization params. |
mutable scoped_ptr<LazyParams> lazy_params_; |