| Index: ash/launcher/launcher_delegate.cc
|
| diff --git a/ash/launcher/launcher_delegate.cc b/ash/launcher/launcher_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69f71fc852e6e6af343806f755bb65f2bc8e8826
|
| --- /dev/null
|
| +++ b/ash/launcher/launcher_delegate.cc
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2013 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/launcher/launcher_delegate.h"
|
| +
|
| +#include "ash/ash_switches.h"
|
| +#include "base/command_line.h"
|
| +
|
| +namespace ash {
|
| +
|
| +LauncherDelegate::~LauncherDelegate() {
|
| +}
|
| +
|
| +bool LauncherDelegate::IsPerAppLauncher() {
|
| + return (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + ash::switches::kAshDisablePerAppLauncher)) ? false : true;
|
| +}
|
| +
|
| +} // namespace ash
|
|
|