| 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..9a878527d42a45d75b94903b6cc62a26c8e0448a
|
| --- /dev/null
|
| +++ b/android_webview/browser/command_line_helper.h
|
| @@ -0,0 +1,27 @@
|
| +// 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>
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +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:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(CommandLineHelper);
|
| +};
|
| +
|
| +#endif // ANDROID_WEBVIEW_BROWSER_COMMAND_LINE_HELPER_H_
|
|
|