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

Unified Diff: components/update_client/task.h

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
« no previous file with comments | « no previous file | components/update_client/task_update.h » ('j') | components/update_client/update_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/task.h
diff --git a/components/update_client/task.h b/components/update_client/task.h
index 52af7521aefc34c37de69749adaaaf0ed2caaee7..a6d1f6c61948805ec0cc1e00cd852ea812bef658 100644
--- a/components/update_client/task.h
+++ b/components/update_client/task.h
@@ -5,6 +5,9 @@
#ifndef COMPONENTS_UPDATE_CLIENT_TASK_H_
#define COMPONENTS_UPDATE_CLIENT_TASK_H_
+#include <string>
+#include <vector>
+
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "components/update_client/update_client.h"
@@ -22,6 +25,9 @@ class Task {
virtual ~Task() {}
virtual void Run() = 0;
+
+ // Returns the ids corresponding to the CRXs associated with this update task.
+ virtual std::vector<std::string> GetIds() const = 0;
};
} // namespace update_client
« no previous file with comments | « no previous file | components/update_client/task_update.h » ('j') | components/update_client/update_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698