root/chrome/test/mini_installer_test/switch_builder.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// 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.

#ifndef CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_
#define CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_

#include "base/basictypes.h"
#include "base/command_line.h"

namespace installer_test {

// Builds commandline arguments for Chrome installation.
class SwitchBuilder {
 public:
  SwitchBuilder();
  ~SwitchBuilder();

  const base::CommandLine& GetSwitches() const;

  SwitchBuilder& AddChrome();
  SwitchBuilder& AddChromeFrame();
  SwitchBuilder& AddMultiInstall();
  SwitchBuilder& AddSystemInstall();

 private:
  base::CommandLine switches_;
  DISALLOW_COPY_AND_ASSIGN(SwitchBuilder);
};

}  // namespace

#endif  // CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_

/* [<][>][^][v][top][bottom][index][help] */