Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / android_webview / common / aw_switches.cc
blob41ec9bd68670352517fed450183ea94dcce1d06a
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.
5 #include "android_webview/common/aw_switches.h"
6 #include "base/command_line.h"
8 namespace switches {
10 const char kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap";
12 bool ForceAuxiliaryBitmap() {
13 static bool force_auxiliary_bitmap =
14 CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap);
15 return force_auxiliary_bitmap;
18 } // namespace switches