summaryrefslogtreecommitdiffstats
path: root/ui/app_list/app_list_switches.cc
blob: fb75287d82d81295d228050a29cf1be4f24399e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 "ui/app_list/app_list_switches.h"

#include "base/command_line.h"

namespace app_list {
namespace switches {

// If set, folder will be enabled in app list UI.
const char kEnableFolderUI[] = "enable-app-list-folder-ui";

bool IsFolderUIEnabled() {
  return CommandLine::ForCurrentProcess()->HasSwitch(kEnableFolderUI);
}

}  // namespcae switches
}  // namespace app_list