Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: android_webview/common/aw_switches.cc

Issue 287993004: [Android WebView] Implement Ubercomp for Render Thread support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init tear down factored out separately Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 #include "android_webview/common/aw_switches.h"
6
7 #include "base/command_line.h"
8
9 namespace switches {
10
11 const char kEnableUbercomp[] = "enable-ubercomp";
12
13 bool UbercompEnabled() {
14 static bool ubercomp_enabled =
15 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableUbercomp);
16 return ubercomp_enabled;
17 }
18
19 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698