diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 05:31:23 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 05:31:23 +0000 |
commit | dbacd88f808821cb2481dd5f770ad13a96c86e4e (patch) | |
tree | 603f7a544ba13e2d26496db01527cda706543c66 /chrome/test/mini_installer_test/switch_builder.h | |
parent | 6f5187d95e0183647b449498b5ace6899c1c87eb (diff) | |
download | chromium_src-dbacd88f808821cb2481dd5f770ad13a96c86e4e.zip chromium_src-dbacd88f808821cb2481dd5f770ad13a96c86e4e.tar.gz chromium_src-dbacd88f808821cb2481dd5f770ad13a96c86e4e.tar.bz2 |
Broke mini_installer_test.
Revert 115066 - A few things in this rewrite:
1) Move test logics into the tests
2) Simplify test installer
3) Separate code to locate installers into a new class
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8464001
TBR=hnguyen@chromium.org
Review URL: http://codereview.chromium.org/9005004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/mini_installer_test/switch_builder.h')
-rw-r--r-- | chrome/test/mini_installer_test/switch_builder.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/chrome/test/mini_installer_test/switch_builder.h b/chrome/test/mini_installer_test/switch_builder.h deleted file mode 100644 index c1bd691e..0000000 --- a/chrome/test/mini_installer_test/switch_builder.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2011 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. - -#ifndef CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ -#define CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ -#pragma once - -#include "base/basictypes.h" -#include "base/command_line.h" - -namespace installer_test { - -// Builds commandline arguments for Chrome installation. -class SwitchBuilder { - public: - SwitchBuilder(); - ~SwitchBuilder(); - - const CommandLine& GetSwitches() const; - - SwitchBuilder& AddChrome(); - SwitchBuilder& AddChromeFrame(); - SwitchBuilder& AddMultiInstall(); - SwitchBuilder& AddReadyMode(); - SwitchBuilder& AddSystemInstall(); - - private: - CommandLine switches_; - DISALLOW_COPY_AND_ASSIGN(SwitchBuilder); -}; - -} // namespace - -#endif // CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ |