Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / common / switches.cc
blob09dc12ae8e9f5ad1f9f86a289b4ae473fe0a6ace
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 "athena/common/switches.h"
7 #include "base/command_line.h"
9 namespace athena {
10 namespace switches {
12 bool IsDebugAcceleratorsEnabled() {
13 #if NDEBUG
14 return base::CommandLine::ForCurrentProcess()->HasSwitch(
15 "debug-accelerators");
16 #else
17 return true;
18 #endif
21 } // namespace switches
22 } // namespace athena