Chromium Code Reviews| Index: chrome/browser/profiles/profile.h |
| diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
| index 16c34e999dcdce9d4ee2b260ed1062c236a10fd6..27e5af7da08b44bd394f90706b1cf6ea390199a5 100644 |
| --- a/chrome/browser/profiles/profile.h |
| +++ b/chrome/browser/profiles/profile.h |
| @@ -323,10 +323,11 @@ class Profile : public content::BrowserContext { |
| virtual chrome_browser_net::Predictor* GetNetworkPredictor() = 0; |
| // Deletes all network related data since |time|. It deletes transport |
| - // security state since |time| and it also delete HttpServerProperties data. |
| - // 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 ClearNetworkingHistorySince(base::Time time) = 0; |
| + // security state since |time| and it 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. |
|
mmenke
2012/10/26 19:06:20
May want to mention that completion may theoretica
engedy
2012/10/29 14:37:56
Done.
|
| + virtual void ClearNetworkingHistorySince(base::Time time, |
| + const base::Closure& completion) = 0; |
| // Returns the home page for this profile. |
| virtual GURL GetHomePage() = 0; |