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

Unified Diff: ash/shell.cc

Issue 2863623005: ash: Instantiate UserActivityForwarder for --mus. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 8cdfec9c861977a5c88ca323d51d7546de3f1125..60c92bd2edc7442f8a7e3f14ae3e41a45fa56872 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -984,7 +984,8 @@ void Shell::Init(const ShellInitParams& init_params) {
display_configurator_->cached_displays());
// The connector is unavailable in some tests.
- if (config == Config::MASH && shell_delegate_->GetShellConnector()) {
+ if ((config == Config::MASH || config == Config::MUS) &&
Daniel Erat 2017/05/04 23:06:53 would you recommend != Config::CLASSIC here? i'm j
sadrul 2017/05/04 23:09:48 Maybe we should use aura::Env::Mode::MUS for this
Daniel Erat 2017/05/04 23:58:00 sure, that seems even better. thanks!
+ shell_delegate_->GetShellConnector()) {
ui::mojom::UserActivityMonitorPtr user_activity_monitor;
shell_delegate_->GetShellConnector()->BindInterface(ui::mojom::kServiceName,
&user_activity_monitor);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698