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

Unified Diff: components/update_client/task_update.cc

Issue 1419473005: Fix task concurrency in components/update_client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: components/update_client/task_update.cc
diff --git a/components/update_client/task_update.cc b/components/update_client/task_update.cc
index cf1a48f2ea30b396e270aed1c946527299b5811f..d253466e7e1110d6ca3b266dca50f308dd0118d0 100644
--- a/components/update_client/task_update.cc
+++ b/components/update_client/task_update.cc
@@ -41,6 +41,10 @@ void TaskUpdate::Run() {
base::Bind(&TaskUpdate::RunComplete, base::Unretained(this)));
}
+std::vector<std::string> TaskUpdate::GetIds() const {
+ return ids_;
+}
+
void TaskUpdate::RunComplete(int error) {
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698