Home
last modified time | relevance | path

Searched refs:WorkItem (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/chrome/installer/util/
Dwork_item_list.cc41 WorkItem* work_item = list_.front(); in Do()
71 void WorkItemList::AddWorkItem(WorkItem* work_item) { in AddWorkItem()
76 WorkItem* WorkItemList::AddCallbackWorkItem( in AddCallbackWorkItem()
78 WorkItem* item = WorkItem::CreateCallbackWorkItem(callback); in AddCallbackWorkItem()
83 WorkItem* WorkItemList::AddCopyTreeWorkItem( in AddCopyTreeWorkItem()
89 WorkItem* item = WorkItem::CreateCopyTreeWorkItem( in AddCopyTreeWorkItem()
99 WorkItem* WorkItemList::AddCreateDirWorkItem(const base::FilePath& path) { in AddCreateDirWorkItem()
100 WorkItem* item = WorkItem::CreateCreateDirWorkItem(path); in AddCreateDirWorkItem()
105 WorkItem* WorkItemList::AddCreateRegKeyWorkItem(HKEY predefined_root, in AddCreateRegKeyWorkItem()
108 WorkItem* item = in AddCreateRegKeyWorkItem()
[all …]
Dwork_item_list_unittest.cc47 scoped_ptr<WorkItemList> work_item_list(WorkItem::CreateWorkItemList()); in TEST_F()
48 scoped_ptr<WorkItem> work_item; in TEST_F()
56 work_item.reset(reinterpret_cast<WorkItem*>( in TEST_F()
57 WorkItem::CreateCreateDirWorkItem(dir_to_create))); in TEST_F()
65 reinterpret_cast<WorkItem*>(WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
66 HKEY_CURRENT_USER, key_to_create, WorkItem::kWow64Default))); in TEST_F()
71 work_item.reset(reinterpret_cast<WorkItem*>( in TEST_F()
72 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
74 WorkItem::kWow64Default, in TEST_F()
104 scoped_ptr<WorkItemList> work_item_list(WorkItem::CreateWorkItemList()); in TEST_F()
[all …]
Dwork_item.cc22 WorkItem::WorkItem() : ignore_failure_(false) { in WorkItem() function in WorkItem
25 WorkItem::~WorkItem() { in ~WorkItem()
28 CallbackWorkItem* WorkItem::CreateCallbackWorkItem( in CreateCallbackWorkItem()
33 CopyTreeWorkItem* WorkItem::CreateCopyTreeWorkItem( in CreateCopyTreeWorkItem()
43 CreateDirWorkItem* WorkItem::CreateCreateDirWorkItem( in CreateCreateDirWorkItem()
48 CreateRegKeyWorkItem* WorkItem::CreateCreateRegKeyWorkItem( in CreateCreateRegKeyWorkItem()
55 DeleteRegKeyWorkItem* WorkItem::CreateDeleteRegKeyWorkItem( in CreateDeleteRegKeyWorkItem()
62 DeleteRegValueWorkItem* WorkItem::CreateDeleteRegValueWorkItem( in CreateDeleteRegValueWorkItem()
71 DeleteTreeWorkItem* WorkItem::CreateDeleteTreeWorkItem( in CreateDeleteTreeWorkItem()
78 MoveTreeWorkItem* WorkItem::CreateMoveTreeWorkItem( in CreateMoveTreeWorkItem()
[all …]
Dwork_item_list.h26 class WorkItemList : public WorkItem {
40 virtual void AddWorkItem(WorkItem* work_item);
43 virtual WorkItem* AddCallbackWorkItem(
49 virtual WorkItem* AddCopyTreeWorkItem(
57 virtual WorkItem* AddCreateDirWorkItem(const base::FilePath& path);
61 virtual WorkItem* AddCreateRegKeyWorkItem(HKEY predefined_root,
67 virtual WorkItem* AddDeleteRegKeyWorkItem(HKEY predefined_root,
73 virtual WorkItem* AddDeleteRegValueWorkItem(HKEY predefined_root,
81 virtual WorkItem* AddDeleteTreeWorkItem(
87 virtual WorkItem* AddDeleteTreeWorkItem(const base::FilePath& root_path,
[all …]
Dset_reg_value_work_item_unittest.cc61 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
63 WorkItem::kWow64Default, in TEST_F()
70 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
72 WorkItem::kWow64Default, in TEST_F()
108 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
110 WorkItem::kWow64Default, in TEST_F()
117 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
119 WorkItem::kWow64Default, in TEST_F()
161 WorkItem::CreateSetRegValueWorkItem(HKEY_CURRENT_USER, in TEST_F()
163 WorkItem::kWow64Default, in TEST_F()
[all …]
Dregistry_key_backup_unittest.cc38 WorkItem::kWow64Default)); in TEST_F()
51 WorkItem::kWow64Default)); in TEST_F()
54 WorkItem::kWow64Default)); in TEST_F()
65 WorkItem::kWow64Default)); in TEST_F()
68 WorkItem::kWow64Default)); in TEST_F()
81 WorkItem::kWow64Default)); in TEST_F()
85 WorkItem::kWow64Default)); in TEST_F()
93 WorkItem::kWow64Default)); in TEST_F()
Ddelete_reg_value_work_item_unittest.cc65 WorkItem::CreateDeleteRegValueWorkItem( in TEST_F()
66 HKEY_CURRENT_USER, parent_key, WorkItem::kWow64Default, name_str)); in TEST_F()
68 WorkItem::CreateDeleteRegValueWorkItem( in TEST_F()
69 HKEY_CURRENT_USER, parent_key, WorkItem::kWow64Default, name_dword)); in TEST_F()
71 WorkItem::CreateDeleteRegValueWorkItem( in TEST_F()
72 HKEY_CURRENT_USER, parent_key, WorkItem::kWow64Default, name_empty)); in TEST_F()
116 WorkItem::CreateDeleteRegValueWorkItem( in TEST_F()
117 HKEY_CURRENT_USER, parent_key, WorkItem::kWow64Default, name_str)); in TEST_F()
119 WorkItem::CreateDeleteRegValueWorkItem( in TEST_F()
120 HKEY_CURRENT_USER, parent_key, WorkItem::kWow64Default, name_dword)); in TEST_F()
Dcreate_reg_key_work_item_unittest.cc57 WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
58 HKEY_CURRENT_USER, key_to_create.value(), WorkItem::kWow64Default)); in TEST_F()
83 WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
84 HKEY_CURRENT_USER, key_to_create.value(), WorkItem::kWow64Default)); in TEST_F()
111 WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
112 HKEY_CURRENT_USER, key_to_create_3.value(), WorkItem::kWow64Default)); in TEST_F()
150 WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
151 HKEY_CURRENT_USER, key_to_create_3.value(), WorkItem::kWow64Default)); in TEST_F()
180 WorkItem::CreateCreateRegKeyWorkItem( in TEST_F()
181 HKEY_CURRENT_USER, key_to_create.value(), WorkItem::kWow64Default)); in TEST_F()
Dconditional_work_item_list.h37 class ConditionRunIfFileExists : public WorkItem::Condition {
49 class Not : public WorkItem::Condition {
51 explicit Not(WorkItem::Condition* original_condition) in Not()
56 scoped_ptr<WorkItem::Condition> original_condition_;
Dcopy_tree_work_item_unittest.cc97 WorkItem::CreateCopyTreeWorkItem(file_name_from, in TEST_F()
100 WorkItem::ALWAYS, in TEST_F()
139 WorkItem::CreateCopyTreeWorkItem(file_name_from, in TEST_F()
142 WorkItem::ALWAYS, in TEST_F()
163 WorkItem::CreateCopyTreeWorkItem(file_name_from, in TEST_F()
166 WorkItem::IF_DIFFERENT, in TEST_F()
209 WorkItem::CreateCopyTreeWorkItem(file_name_from, in TEST_F()
212 WorkItem::ALWAYS, in TEST_F()
243 WorkItem::CreateCopyTreeWorkItem(file_name_from, in TEST_F()
246 WorkItem::IF_DIFFERENT, in TEST_F()
[all …]
Ddelete_reg_key_work_item_unittest.cc40 scoped_ptr<DeleteRegKeyWorkItem> item(WorkItem::CreateDeleteRegKeyWorkItem( in TEST_F()
41 test_data_.root_key(), key_path, WorkItem::kWow64Default)); in TEST_F()
56 scoped_ptr<DeleteRegKeyWorkItem> item(WorkItem::CreateDeleteRegKeyWorkItem( in TEST_F()
57 test_data_.root_key(), key_path, WorkItem::kWow64Default)); in TEST_F()
72 scoped_ptr<DeleteRegKeyWorkItem> item(WorkItem::CreateDeleteRegKeyWorkItem( in TEST_F()
73 test_data_.root_key(), key_path, WorkItem::kWow64Default)); in TEST_F()
115 scoped_ptr<DeleteRegKeyWorkItem> item(WorkItem::CreateDeleteRegKeyWorkItem( in TEST_F()
116 test_data_.root_key(), key_name, WorkItem::kWow64Default)); in TEST_F()
Dmove_tree_work_item_unittest.cc89 WorkItem::CreateMoveTreeWorkItem(from_dir1, in TEST_F()
92 WorkItem::ALWAYS_MOVE)); in TEST_F()
144 WorkItem::CreateMoveTreeWorkItem(from_dir1, in TEST_F()
147 WorkItem::ALWAYS_MOVE)); in TEST_F()
187 WorkItem::CreateMoveTreeWorkItem(from_file, in TEST_F()
190 WorkItem::ALWAYS_MOVE)); in TEST_F()
234 WorkItem::CreateMoveTreeWorkItem(from_file, in TEST_F()
237 WorkItem::ALWAYS_MOVE)); in TEST_F()
294 WorkItem::CreateMoveTreeWorkItem(from_file, in TEST_F()
297 WorkItem::ALWAYS_MOVE)); in TEST_F()
[all …]
Dinstall_util_unittest.cc199 WorkItem::kWow64Default, in TEST_F()
214 WorkItem::kWow64Default, in TEST_F()
229 WorkItem::kWow64Default, in TEST_F()
246 WorkItem::kWow64Default, in TEST_F()
263 WorkItem::kWow64Default, in TEST_F()
280 WorkItem::kWow64Default, in TEST_F()
305 WorkItem::kWow64Default, in TEST_F()
318 WorkItem::kWow64Default, in TEST_F()
333 WorkItem::kWow64Default, in TEST_F()
350 WorkItem::kWow64Default, in TEST_F()
[all …]
Dcreate_dir_work_item_unittest.cc42 WorkItem::CreateCreateDirWorkItem(dir_to_create)); in TEST_F()
62 WorkItem::CreateCreateDirWorkItem(dir_to_create)); in TEST_F()
86 WorkItem::CreateCreateDirWorkItem(dir_to_create_3)); in TEST_F()
119 WorkItem::CreateCreateDirWorkItem(dir_to_create_3)); in TEST_F()
Dself_reg_work_item.h14 class SelfRegWorkItem : public WorkItem {
22 friend class WorkItem;
Dcreate_dir_work_item.h15 class CreateDirWorkItem : public WorkItem {
28 friend class WorkItem;
Dcreate_reg_key_work_item.h17 class CreateRegKeyWorkItem : public WorkItem {
26 friend class WorkItem;
Ddelete_reg_key_work_item.h22 class DeleteRegKeyWorkItem : public WorkItem {
31 friend class WorkItem;
Dcallback_work_item.h34 class CallbackWorkItem : public WorkItem {
44 friend class WorkItem;
Ddelete_tree_work_item.h20 class DeleteTreeWorkItem : public WorkItem {
29 friend class WorkItem;
Ddelete_reg_value_work_item.h17 class DeleteRegValueWorkItem : public WorkItem {
26 friend class WorkItem;
/external/chromium_org/chrome/installer/setup/
Dinstall_worker_unittest.cc50 MOCK_METHOD4(AddCopyRegKeyWorkItem, WorkItem* (HKEY,
54 MOCK_METHOD5(AddCopyTreeWorkItem, WorkItem*(const std::wstring&,
59 MOCK_METHOD1(AddCreateDirWorkItem, WorkItem* (const base::FilePath&));
60 MOCK_METHOD2(AddCreateRegKeyWorkItem, WorkItem* (HKEY, const std::wstring&));
61 MOCK_METHOD2(AddDeleteRegKeyWorkItem, WorkItem* (HKEY, const std::wstring&));
62 MOCK_METHOD3(AddDeleteRegValueWorkItem, WorkItem* (HKEY,
65 MOCK_METHOD2(AddDeleteTreeWorkItem, WorkItem* (
68 MOCK_METHOD1(AddDeleteTreeWorkItem, WorkItem* (const base::FilePath&));
69 MOCK_METHOD3(AddMoveTreeWorkItem, WorkItem* (const std::wstring&,
74 virtual WorkItem* AddSetRegValueWorkItem(HKEY a1, const std::wstring& a2, in AddSetRegValueWorkItem()
[all …]
Dinstall_worker.cc144 temp_path.value(), WorkItem::ALWAYS); in AddInstallerCopyTasks()
153 WorkItem::ALWAYS); in AddInstallerCopyTasks()
173 WorkItem::ALWAYS_MOVE); in AddInstallerCopyTasks()
182 WorkItem::ALWAYS); in AddInstallerCopyTasks()
440 WorkItem* delete_reg_key = work_item_list->AddDeleteRegKeyWorkItem( in AddDeleteUninstallShortcutsForMSIWorkItems()
462 WorkItem* delete_link = work_item_list->AddDeleteTreeWorkItem( in AddDeleteUninstallShortcutsForMSIWorkItems()
511 WorkItem::ALWAYS); in AddChromeWorkItems()
517 WorkItem::NEW_NAME_IF_IN_USE, in AddChromeWorkItems()
532 WorkItem::ALWAYS_MOVE); in AddChromeWorkItems()
544 WorkItem::ALWAYS_MOVE); in AddChromeWorkItems()
[all …]
Duninstall.cc138 update_list(WorkItem::CreateNoRollbackWorkItemList()); in ProcessGoogleUpdateItems()
157 WorkItem::CreateNoRollbackWorkItemList()); in ProcessOnOsUpgradeWorkItems()
165 scoped_ptr<WorkItemList> work_items(WorkItem::CreateNoRollbackWorkItemList()); in ProcessIELowRightsPolicyWorkItems()
688 root, (classes_path + *filetype).c_str(), WorkItem::kWow64Default, in RemoveFiletypeRegistration()
737 scoped_ptr<WorkItemList> item_list(WorkItem::CreateNoRollbackWorkItemList()); in ProcessDelegateExecuteWorkItems()
764 WorkItem::kWow64Default); in UninstallActiveSetupEntries()
924 InstallUtil::DeleteRegistryKey(root, reg_prog_id, WorkItem::kWow64Default); in DeleteChromeRegistrationKeys()
932 InstallUtil::DeleteRegistryKey(root, reg_app_id, WorkItem::kWow64Default); in DeleteChromeRegistrationKeys()
949 WorkItem::kWow64Default, NULL, open_command_pred) in DeleteChromeRegistrationKeys()
954 root, ShellUtil::kRegStartMenuInternet, WorkItem::kWow64Default, in DeleteChromeRegistrationKeys()
[all …]
/external/chromium_org/net/http/
Dhttp_cache.cc125 WorkItem* writer;
142 class HttpCache::WorkItem { class in net::HttpCache
144 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) in WorkItem() function in net::HttpCache::WorkItem
149 WorkItem(WorkItemOperation operation, Transaction* trans, in WorkItem() function in net::HttpCache::WorkItem
156 ~WorkItem() {} in ~WorkItem()
501 scoped_ptr<WorkItem> item(new WorkItem(WI_CREATE_BACKEND, NULL, callback, in CreateBackend()
536 WorkItem* item = new WorkItem( in GetBackendForTransaction()
622 WorkItem* item = new WorkItem(WI_DOOM_ENTRY, trans, NULL); in AsyncDoomEntry()
762 WorkItem* item = new WorkItem(WI_OPEN_ENTRY, trans, entry); in OpenEntry()
791 WorkItem* item = new WorkItem(WI_CREATE_ENTRY, trans, entry); in CreateEntry()
[all …]

12