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

Unified Diff: chrome/installer/util/work_item_list.h

Issue 10916018: Force COM machinery to notice that the path to the DelegateExecute verb handler has changed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/installer/util/work_item_list.h
diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h
index 5f50fe45b43fa060912709633863adc016b9042e..57426885eb4d6a60967bdcc21a61b1a66dab95e9 100644
--- a/chrome/installer/util/work_item_list.h
+++ b/chrome/installer/util/work_item_list.h
@@ -11,6 +11,7 @@
#include <string>
#include <vector>
+#include "base/callback.h"
robertshield 2012/08/30 17:52:43 is it possible to use base/callback_forward.h here
grt (UTC plus 2) 2012/08/30 18:21:50 Yes! All but callback_work_item.h.
#include "base/memory/scoped_ptr.h"
#include "chrome/installer/util/work_item.h"
@@ -36,6 +37,10 @@ class WorkItemList : public WorkItem {
// Once a WorkItem is added to the list. The list owns the WorkItem.
virtual void AddWorkItem(WorkItem* work_item);
+ // Add a CallbackWorkItem that invokes a callback.
+ virtual WorkItem* AddCallbackWorkItem(
+ base::Callback<bool(const CallbackWorkItem&)> callback);
+
// Add a CopyRegKeyWorkItem that recursively copies a given registry key.
virtual WorkItem* AddCopyRegKeyWorkItem(HKEY predefined_root,
const std::wstring& source_key_path,

Powered by Google App Engine
This is Rietveld 408576698