OLD | NEW |
(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_ |
OLD | NEW |