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

Unified Diff: chrome/test/mini_installer_test/switch_builder.cc

Issue 301223007: Delete old mini_installer_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/mini_installer_test/switch_builder.cc
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 e786090d7ae082e5228d44449a45cbb1e39c04c1..0000000000000000000000000000000000000000
--- 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

Powered by Google App Engine
This is Rietveld 408576698