diff options
Diffstat (limited to 'chrome/test/mini_installer_test/switch_builder.cc')
-rw-r--r-- | chrome/test/mini_installer_test/switch_builder.cc | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/chrome/test/mini_installer_test/switch_builder.cc b/chrome/test/mini_installer_test/switch_builder.cc deleted file mode 100644 index e786090..0000000 --- a/chrome/test/mini_installer_test/switch_builder.cc +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "chrome/test/mini_installer_test/switch_builder.h" - -#include "chrome/installer/util/install_util.h" - -namespace installer_test { - -SwitchBuilder::SwitchBuilder() - : switches_(CommandLine::NO_PROGRAM) {} - -SwitchBuilder::~SwitchBuilder() {} - -const CommandLine& SwitchBuilder::GetSwitches() const { - return switches_; -} - -SwitchBuilder& SwitchBuilder::AddChrome() { - switches_.AppendSwitch(installer::switches::kChrome); - return *this; -} - -SwitchBuilder& SwitchBuilder::AddChromeFrame() { - switches_.AppendSwitch(installer::switches::kChromeFrame); - switches_.AppendSwitch(installer::switches::kDoNotLaunchChrome); - switches_.AppendSwitch(installer::switches::kDoNotRegisterForUpdateLaunch); - return *this; -} - -SwitchBuilder& SwitchBuilder::AddMultiInstall() { - switches_.AppendSwitch(installer::switches::kMultiInstall); - return *this; -} - -SwitchBuilder& SwitchBuilder::AddSystemInstall() { - switches_.AppendSwitch(installer::switches::kSystemLevel); - return *this; -} - -} // namespace |