blob: 7b3f68681228ee7920be1376c93a8d8dc7b8477f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2014 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.
#include "android_webview/common/aw_switches.h"
#include "base/command_line.h"
namespace switches {
const char kEnableUbercomp[] = "enable-ubercomp";
bool UbercompEnabled() {
static bool ubercomp_enabled =
CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableUbercomp);
return ubercomp_enabled;
}
} // namespace switches
|