| Index: android_webview/browser/command_line_helper.h
|
| diff --git a/android_webview/browser/command_line_helper.h b/android_webview/browser/command_line_helper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7a1564192cb0248e6cb1b41b099b99a5aba1ab98
|
| --- /dev/null
|
| +++ b/android_webview/browser/command_line_helper.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
|
| +#define ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace base {
|
| +class CommandLine;
|
| +} // namespace base
|
| +
|
| +class CommandLineHelper {
|
| + public:
|
| + // Add a feature to the --enabled-features list, but only if it's not
|
| + // already enabled or disabled.
|
| + static void AddEnabledFeature(base::CommandLine& command_line,
|
| + const std::string& feature_name);
|
| +
|
| + private:
|
| + CommandLineHelper();
|
| +};
|
| +
|
| +#endif // ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
|
|
|