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

Unified Diff: components/update_client/crx_downloader.cc

Issue 2889683003: Rename TaskRunner::RunsTasksOnCurrentThread() in //components (Closed)
Patch Set: rebase Created 3 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 | « components/update_client/component.cc ('k') | components/update_client/url_request_post_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/crx_downloader.cc
diff --git a/components/update_client/crx_downloader.cc b/components/update_client/crx_downloader.cc
index f31593352a123aaa0e2807e203b40874e0904bbc..8437dd5b83f6dfeb164e7f967de49d3197ad9ecc 100644
--- a/components/update_client/crx_downloader.cc
+++ b/components/update_client/crx_downloader.cc
@@ -152,7 +152,7 @@ void CrxDownloader::OnDownloadProgress(const Result& result) {
void CrxDownloader::VerifyResponse(bool is_handled,
Result result,
DownloadMetrics download_metrics) {
- DCHECK(task_runner()->RunsTasksOnCurrentThread());
+ DCHECK(task_runner()->RunsTasksInCurrentSequence());
DCHECK_EQ(0, result.error);
DCHECK_EQ(0, download_metrics.error);
DCHECK(is_handled);
« no previous file with comments | « components/update_client/component.cc ('k') | components/update_client/url_request_post_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698