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

Unified Diff: chrome/browser/browsing_data/browsing_data_quota_helper_impl.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_impl.h
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
index 4cd6108fb5e4130e7ec97e62855029a6c9d73b94..792760b8a2cc8bc4062436ce7be8affb66092a15 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
@@ -31,8 +31,8 @@ class BrowsingDataQuotaHelperImpl : public BrowsingDataQuotaHelper {
void RevokeHostQuota(const std::string& host) override;
private:
- BrowsingDataQuotaHelperImpl(base::MessageLoopProxy* ui_thread,
- base::MessageLoopProxy* io_thread,
+ BrowsingDataQuotaHelperImpl(base::SingleThreadTaskRunner* ui_thread,
+ base::SingleThreadTaskRunner* io_thread,
storage::QuotaManager* quota_manager);
~BrowsingDataQuotaHelperImpl() override;
@@ -61,8 +61,8 @@ class BrowsingDataQuotaHelperImpl : public BrowsingDataQuotaHelper {
bool is_fetching_;
- scoped_refptr<base::MessageLoopProxy> ui_thread_;
- scoped_refptr<base::MessageLoopProxy> io_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_thread_;
base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_;
friend class BrowsingDataQuotaHelper;

Powered by Google App Engine
This is Rietveld 408576698