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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 328703002: Do not de-reference Profile on the IO thread in BrowsingDataRemover. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added DCHECK. Created 6 years, 6 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 | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h
index 3111cb18fc666a7fb42d4390004c9f8d3ed20c42..66de001126acf7d61596ffa525e7fc24cecfb6ac 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.h
+++ b/chrome/browser/browsing_data/browsing_data_remover.h
@@ -27,6 +27,10 @@ class ExtensionSpecialStoragePolicy;
class IOThread;
class Profile;
+namespace chrome_browser_net {
+class Predictor;
+}
+
namespace content {
class PluginDataRemover;
class StoragePartition;
@@ -303,7 +307,8 @@ class BrowsingDataRemover
// Invoked on the IO thread to clear speculative data related to hostname
// pre-resolution from the network Predictor.
- void ClearNetworkPredictorOnIOThread();
+ void ClearNetworkPredictorOnIOThread(
+ chrome_browser_net::Predictor* predictor);
// Callback for when network related data in ProfileIOData has been cleared.
// Clears the respective waiting flag and invokes NotifyAndDeleteIfDone.
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698