| Index: ash/common/system/chromeos/palette/palette_utils.cc
|
| diff --git a/ash/common/system/chromeos/palette/palette_utils.cc b/ash/common/system/chromeos/palette/palette_utils.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2f6dc51a580e48b27f6bac1c97b80421ac73551c
|
| --- /dev/null
|
| +++ b/ash/common/system/chromeos/palette/palette_utils.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2016 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 "ash/common/system/chromeos/palette/palette_utils.h"
|
| +
|
| +#include "ash/common/ash_switches.h"
|
| +#include "base/command_line.h"
|
| +
|
| +namespace ash {
|
| +
|
| +bool IsPaletteEnabled() {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kAshEnablePalette);
|
| +}
|
| +
|
| +} // namespace chromeos
|
|
|