| 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..f350f39160b4008e44a87f5f31fbd111f65cbe48 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_forward.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,
|
|
|