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

Unified Diff: mash/login/login.cc

Issue 2511233002: Add the beginning of a simple window manager that we'll support on Windows. (Closed)
Patch Set: . Created 4 years 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 | « mash/login/BUILD.gn ('k') | mash/session/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/login/login.cc
diff --git a/mash/login/login.cc b/mash/login/login.cc
index e428075a6691de27c1fc5823bee27dece1944759..d28929d17eed7558aa6dd70ea54d81814ac6f29d 100644
--- a/mash/login/login.cc
+++ b/mash/login/login.cc
@@ -13,6 +13,7 @@
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/utf_string_conversions.h"
+#include "mash/common/config.h"
#include "mash/init/public/interfaces/constants.mojom.h"
#include "mash/init/public/interfaces/init.mojom.h"
#include "mash/login/public/interfaces/login.mojom.h"
@@ -117,7 +118,8 @@ class UI : public views::WidgetDelegateView,
void ButtonPressed(views::Button* sender, const ui::Event& event) override;
void StartWindowManager(const service_manager::Identity& identity) {
- mash_wm_connection_ = connector_->Connect("ash");
+ mash_wm_connection_ =
+ connector_->Connect(common::GetWindowManagerServiceName());
mash_wm_connection_->SetConnectionLostClosure(
base::Bind(&UI::StartWindowManager, base::Unretained(this), identity));
window_manager_connection_ =
« no previous file with comments | « mash/login/BUILD.gn ('k') | mash/session/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698