Home | History | Annotate | Download | only in app_shim
      1 // Copyright 2013 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.
      4 
      5 #include "apps/app_shim/app_shim_mac.h"
      6 
      7 #include "base/command_line.h"
      8 #include "chrome/browser/ui/app_list/app_list_util.h"
      9 #include "chrome/common/chrome_switches.h"
     10 
     11 namespace apps {
     12 
     13 bool IsAppShimsEnabled() {
     14   return IsAppLauncherEnabled() ||
     15       CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAppShims);
     16 }
     17 
     18 }  // namespace apps
     19