/external/chromium_org/chrome/installer/util/ |
D | work_item_list.cc | 41 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 …]
|
D | work_item_list_unittest.cc | 47 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 …]
|
D | work_item.cc | 22 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 …]
|
D | work_item_list.h | 26 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 …]
|
D | set_reg_value_work_item_unittest.cc | 61 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 …]
|
D | registry_key_backup_unittest.cc | 38 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()
|
D | delete_reg_value_work_item_unittest.cc | 65 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()
|
D | create_reg_key_work_item_unittest.cc | 57 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()
|
D | conditional_work_item_list.h | 37 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_;
|
D | copy_tree_work_item_unittest.cc | 97 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 …]
|
D | delete_reg_key_work_item_unittest.cc | 40 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()
|
D | move_tree_work_item_unittest.cc | 89 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 …]
|
D | install_util_unittest.cc | 199 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 …]
|
D | create_dir_work_item_unittest.cc | 42 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()
|
D | self_reg_work_item.h | 14 class SelfRegWorkItem : public WorkItem { 22 friend class WorkItem;
|
D | create_dir_work_item.h | 15 class CreateDirWorkItem : public WorkItem { 28 friend class WorkItem;
|
D | create_reg_key_work_item.h | 17 class CreateRegKeyWorkItem : public WorkItem { 26 friend class WorkItem;
|
D | delete_reg_key_work_item.h | 22 class DeleteRegKeyWorkItem : public WorkItem { 31 friend class WorkItem;
|
D | callback_work_item.h | 34 class CallbackWorkItem : public WorkItem { 44 friend class WorkItem;
|
D | delete_tree_work_item.h | 20 class DeleteTreeWorkItem : public WorkItem { 29 friend class WorkItem;
|
D | delete_reg_value_work_item.h | 17 class DeleteRegValueWorkItem : public WorkItem { 26 friend class WorkItem;
|
/external/chromium_org/chrome/installer/setup/ |
D | install_worker_unittest.cc | 50 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 …]
|
D | install_worker.cc | 144 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 …]
|
D | uninstall.cc | 138 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/ |
D | http_cache.cc | 125 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 …]
|