blob: 0a8ec3d9c1e4af76259d54955807650c531608c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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 "apps/app_shim/app_shim_mac.h"
#include "apps/app_launcher.h"
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
namespace apps {
bool IsAppShimsEnabled() {
return IsAppLauncherEnabled() ||
CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAppShims);
}
} // namespace apps
|