OLD | NEW |
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/app_command.h" | 5 #include "chrome/installer/util/app_command.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/win/registry.h" | 11 #include "base/win/registry.h" |
9 #include "chrome/installer/util/google_update_constants.h" | 12 #include "chrome/installer/util/google_update_constants.h" |
10 #include "chrome/installer/util/work_item_list.h" | 13 #include "chrome/installer/util/work_item_list.h" |
11 | 14 |
12 namespace installer { | 15 namespace installer { |
13 | 16 |
14 // static | 17 // static |
15 // Associate bool member variables with registry entries. | 18 // Associate bool member variables with registry entries. |
16 const AppCommand::NamedBoolVar AppCommand::kNameBoolVars[] = { | 19 const AppCommand::NamedBoolVar AppCommand::kNameBoolVars[] = { |
17 {&AppCommand::sends_pings_, | 20 {&AppCommand::sends_pings_, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 static_cast<DWORD>(1), | 100 static_cast<DWORD>(1), |
98 true); | 101 true); |
99 } else { | 102 } else { |
100 item_list->AddDeleteRegValueWorkItem( | 103 item_list->AddDeleteRegValueWorkItem( |
101 predefined_root, command_path, KEY_WOW64_32KEY, var_name); | 104 predefined_root, command_path, KEY_WOW64_32KEY, var_name); |
102 } | 105 } |
103 } | 106 } |
104 } | 107 } |
105 | 108 |
106 } // namespace installer | 109 } // namespace installer |
OLD | NEW |