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

Side by Side Diff: extensions/common/test/scoped_command_line_switch.h

Issue 1054813002: Refactor ScopedCommandLineSwitch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@whitelisted
Patch Set: Created 5 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_COMMON_TEST_SCOPED_COMMAND_LINE_SWITCH_H_
6 #define EXTENSIONS_COMMON_TEST_SCOPED_COMMAND_LINE_SWITCH_H_
7
8 #include <string>
9
10 #include "base/command_line.h"
11
12 class ScopedCommandLineSwitch {
13 public:
14 explicit ScopedCommandLineSwitch(const std::string& switch_string);
15 ScopedCommandLineSwitch(const std::string& switch_string,
16 const std::string& value);
17 ~ScopedCommandLineSwitch();
18
19 private:
20 base::CommandLine original_command_line_;
21 };
22
23 #endif // EXTENSIONS_COMMON_TEST_SCOPED_COMMAND_LINE_SWITCH_H_
OLDNEW
« no previous file with comments | « extensions/common/features/simple_feature_unittest.cc ('k') | extensions/common/test/scoped_command_line_switch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698