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

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

Issue 1117583003: [chrome/browser/browsing_data] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 5 years, 8 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
Index: chrome/browser/browsing_data/browsing_data_quota_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.h b/chrome/browser/browsing_data/browsing_data_quota_helper.h
index c6883edb8b42801b45959e901fbd3dca02b8306c..d93cbcfad4541f28757acfe96c5d0637284b43ad 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper.h
@@ -10,10 +10,14 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/sequenced_task_runner_helpers.h"
#include "storage/common/quota/quota_types.h"
+
+namespace base {
+class SingleThreadTaskRunner;
+} // namespace base
+
class BrowsingDataQuotaHelper;
class Profile;
@@ -67,13 +71,13 @@ class BrowsingDataQuotaHelper
virtual void RevokeHostQuota(const std::string& host) = 0;
protected:
- explicit BrowsingDataQuotaHelper(base::MessageLoopProxy* io_thread_);
+ explicit BrowsingDataQuotaHelper(base::SingleThreadTaskRunner* io_thread_);
virtual ~BrowsingDataQuotaHelper();
private:
friend class base::DeleteHelper<BrowsingDataQuotaHelper>;
friend struct BrowsingDataQuotaHelperDeleter;
- scoped_refptr<base::MessageLoopProxy> io_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_thread_;
DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper);
};

Powered by Google App Engine
This is Rietveld 408576698