OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/mini_installer_test/switch_builder.h" | 5 #include "chrome/test/mini_installer_test/switch_builder.h" |
6 | 6 |
7 #include "chrome/installer/util/install_util.h" | 7 #include "chrome/installer/util/install_util.h" |
8 | 8 |
9 namespace installer_test { | 9 namespace installer_test { |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 switches_.AppendSwitch(installer::switches::kDoNotLaunchChrome); | 27 switches_.AppendSwitch(installer::switches::kDoNotLaunchChrome); |
28 switches_.AppendSwitch(installer::switches::kDoNotRegisterForUpdateLaunch); | 28 switches_.AppendSwitch(installer::switches::kDoNotRegisterForUpdateLaunch); |
29 return *this; | 29 return *this; |
30 } | 30 } |
31 | 31 |
32 SwitchBuilder& SwitchBuilder::AddMultiInstall() { | 32 SwitchBuilder& SwitchBuilder::AddMultiInstall() { |
33 switches_.AppendSwitch(installer::switches::kMultiInstall); | 33 switches_.AppendSwitch(installer::switches::kMultiInstall); |
34 return *this; | 34 return *this; |
35 } | 35 } |
36 | 36 |
37 SwitchBuilder& SwitchBuilder::AddReadyMode() { | |
38 switches_.AppendSwitch(installer::switches::kChromeFrameReadyMode); | |
39 return *this; | |
40 } | |
41 | |
42 SwitchBuilder& SwitchBuilder::AddSystemInstall() { | 37 SwitchBuilder& SwitchBuilder::AddSystemInstall() { |
43 switches_.AppendSwitch(installer::switches::kSystemLevel); | 38 switches_.AppendSwitch(installer::switches::kSystemLevel); |
44 return *this; | 39 return *this; |
45 } | 40 } |
46 | 41 |
47 } // namespace | 42 } // namespace |
OLD | NEW |