Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/browser/chromeos/ash_config.cc

Issue 2777223002: Gets chrome --mus some what working (Closed)
Patch Set: fix mac Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/ash_config.h ('k') | chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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 "chrome/browser/chromeos/ash_config.h"
6
7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h"
9 #include "services/service_manager/runner/common/client_util.h"
10
11 namespace chromeos {
12
13 ash::Config GetConfig() {
14 if (!service_manager::ServiceManagerIsRemote())
15 return ash::Config::CLASSIC;
16
17 return base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
18 switches::kMusConfig) == switches::kMash
19 ? ash::Config::MASH
20 : ash::Config::MUS;
21 }
22
23 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/ash_config.h ('k') | chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698