summaryrefslogtreecommitdiffstats
path: root/android_webview/common/aw_switches.cc
blob: 41ec9bd68670352517fed450183ea94dcce1d06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap";

bool ForceAuxiliaryBitmap() {
  static bool force_auxiliary_bitmap =
      CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap);
  return force_auxiliary_bitmap;
}

}  // namespace switches