OLD | NEW |
1 // Copyright (c) 2010 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/product.h" | 5 #include "chrome/installer/util/product.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 } | 130 } |
131 | 131 |
132 void Product::AddKeyFiles(std::vector<FilePath>* key_files) const { | 132 void Product::AddKeyFiles(std::vector<FilePath>* key_files) const { |
133 operations_->AddKeyFiles(options_, key_files); | 133 operations_->AddKeyFiles(options_, key_files); |
134 } | 134 } |
135 | 135 |
136 void Product::AddComDllList(std::vector<FilePath>* com_dll_list) const { | 136 void Product::AddComDllList(std::vector<FilePath>* com_dll_list) const { |
137 operations_->AddComDllList(options_, com_dll_list); | 137 operations_->AddComDllList(options_, com_dll_list); |
138 } | 138 } |
139 | 139 |
140 void Product::AppendProductFlags(CommandLine* command_line) const { | 140 void Product::AppendUninstallFlags(CommandLine* command_line) const { |
141 operations_->AppendProductFlags(options_, command_line); | 141 operations_->AppendUninstallFlags(options_, command_line); |
| 142 } |
| 143 |
| 144 void Product::AppendRenameFlags(CommandLine* command_line) const { |
| 145 operations_->AppendRenameFlags(options_, command_line); |
142 } | 146 } |
143 | 147 |
144 bool Product::SetChannelFlags(bool set, ChannelInfo* channel_info) const { | 148 bool Product::SetChannelFlags(bool set, ChannelInfo* channel_info) const { |
145 return operations_->SetChannelFlags(options_, set, channel_info); | 149 return operations_->SetChannelFlags(options_, set, channel_info); |
146 } | 150 } |
147 | 151 |
148 } // namespace installer | 152 } // namespace installer |
OLD | NEW |