OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace base { |
| 13 class CommandLine; |
| 14 } // namespace base |
| 15 |
| 16 class CommandLineHelper { |
| 17 public: |
| 18 // Add a feature to the --enabled-features list, but only if it's not |
| 19 // already enabled or disabled. |
| 20 static void AddEnabledFeature(base::CommandLine& command_line, |
| 21 const std::string& feature_name); |
| 22 |
| 23 private: |
| 24 DISALLOW_IMPLICIT_CONSTRUCTORS(CommandLineHelper); |
| 25 }; |
| 26 |
| 27 #endif // ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_ |
OLD | NEW |