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

Side by Side Diff: chrome/installer/util/work_item.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « chrome/installer/util/work_item.h ('k') | chrome/installer/util/work_item_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/installer/util/work_item.h" 5 #include "chrome/installer/util/work_item.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "chrome/installer/util/callback_work_item.h" 9 #include "chrome/installer/util/callback_work_item.h"
10 #include "chrome/installer/util/conditional_work_item_list.h" 10 #include "chrome/installer/util/conditional_work_item_list.h"
11 #include "chrome/installer/util/copy_tree_work_item.h" 11 #include "chrome/installer/util/copy_tree_work_item.h"
12 #include "chrome/installer/util/create_dir_work_item.h" 12 #include "chrome/installer/util/create_dir_work_item.h"
13 #include "chrome/installer/util/create_reg_key_work_item.h" 13 #include "chrome/installer/util/create_reg_key_work_item.h"
14 #include "chrome/installer/util/delete_tree_work_item.h"
15 #include "chrome/installer/util/delete_reg_key_work_item.h" 14 #include "chrome/installer/util/delete_reg_key_work_item.h"
16 #include "chrome/installer/util/delete_reg_value_work_item.h" 15 #include "chrome/installer/util/delete_reg_value_work_item.h"
16 #include "chrome/installer/util/delete_tree_work_item.h"
17 #include "chrome/installer/util/move_tree_work_item.h" 17 #include "chrome/installer/util/move_tree_work_item.h"
18 #include "chrome/installer/util/self_reg_work_item.h" 18 #include "chrome/installer/util/self_reg_work_item.h"
19 #include "chrome/installer/util/set_reg_value_work_item.h" 19 #include "chrome/installer/util/set_reg_value_work_item.h"
20 #include "chrome/installer/util/work_item_list.h" 20 #include "chrome/installer/util/work_item_list.h"
21 21
22 WorkItem::WorkItem() : ignore_failure_(false) { 22 WorkItem::WorkItem() : ignore_failure_(false) {
23 } 23 }
24 24
25 WorkItem::~WorkItem() { 25 WorkItem::~WorkItem() {
26 } 26 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 value_name, 114 value_name,
115 value_data, 115 value_data,
116 overwrite); 116 overwrite);
117 } 117 }
118 118
119 SetRegValueWorkItem* WorkItem::CreateSetRegValueWorkItem( 119 SetRegValueWorkItem* WorkItem::CreateSetRegValueWorkItem(
120 HKEY predefined_root, 120 HKEY predefined_root,
121 const std::wstring& key_path, 121 const std::wstring& key_path,
122 REGSAM wow64_access, 122 REGSAM wow64_access,
123 const std::wstring& value_name, 123 const std::wstring& value_name,
124 int64 value_data, 124 int64_t value_data,
125 bool overwrite) { 125 bool overwrite) {
126 return new SetRegValueWorkItem(predefined_root, 126 return new SetRegValueWorkItem(predefined_root,
127 key_path, 127 key_path,
128 wow64_access, 128 wow64_access,
129 value_name, 129 value_name,
130 value_data, 130 value_data,
131 overwrite); 131 overwrite);
132 } 132 }
133 133
134 SetRegValueWorkItem* WorkItem::CreateSetRegValueWorkItem( 134 SetRegValueWorkItem* WorkItem::CreateSetRegValueWorkItem(
(...skipping 20 matching lines...) Expand all
155 } 155 }
156 156
157 // static 157 // static
158 WorkItemList* WorkItem::CreateNoRollbackWorkItemList() { 158 WorkItemList* WorkItem::CreateNoRollbackWorkItemList() {
159 return new NoRollbackWorkItemList(); 159 return new NoRollbackWorkItemList();
160 } 160 }
161 161
162 WorkItemList* WorkItem::CreateConditionalWorkItemList(Condition* condition) { 162 WorkItemList* WorkItem::CreateConditionalWorkItemList(Condition* condition) {
163 return new ConditionalWorkItemList(condition); 163 return new ConditionalWorkItemList(condition);
164 } 164 }
OLDNEW
« no previous file with comments | « chrome/installer/util/work_item.h ('k') | chrome/installer/util/work_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698