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

Side by Side Diff: chrome/test/mini_installer_test/switch_builder.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ 5 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_
6 #define CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ 6 #define CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 10
11 namespace installer_test { 11 namespace installer_test {
12 12
13 // Builds commandline arguments for Chrome installation. 13 // Builds commandline arguments for Chrome installation.
14 class SwitchBuilder { 14 class SwitchBuilder {
15 public: 15 public:
16 SwitchBuilder(); 16 SwitchBuilder();
17 ~SwitchBuilder(); 17 ~SwitchBuilder();
18 18
19 const CommandLine& GetSwitches() const; 19 const base::CommandLine& GetSwitches() const;
20 20
21 SwitchBuilder& AddChrome(); 21 SwitchBuilder& AddChrome();
22 SwitchBuilder& AddChromeFrame(); 22 SwitchBuilder& AddChromeFrame();
23 SwitchBuilder& AddMultiInstall(); 23 SwitchBuilder& AddMultiInstall();
24 SwitchBuilder& AddSystemInstall(); 24 SwitchBuilder& AddSystemInstall();
25 25
26 private: 26 private:
27 CommandLine switches_; 27 base::CommandLine switches_;
28 DISALLOW_COPY_AND_ASSIGN(SwitchBuilder); 28 DISALLOW_COPY_AND_ASSIGN(SwitchBuilder);
29 }; 29 };
30 30
31 } // namespace 31 } // namespace
32 32
33 #endif // CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_ 33 #endif // CHROME_TEST_MINI_INSTALLER_TEST_SWITCH_BUILDER_H_
OLDNEW
« no previous file with comments | « chrome/test/mini_installer_test/installer_test_util.h ('k') | chrome/test/nacl/nacl_browsertest_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698