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

Unified Diff: services/ui/service.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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 | « services/ui/service.h ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 829689d53637640137e990bc81058068baba39b1..bb5f04451e7220356d1d4d693dc263955f2ae440 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -142,9 +142,9 @@ void Service::AddUserIfNecessary(shell::Connection* connection) {
connection->GetRemoteIdentity().user_id());
}
-void Service::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void Service::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
platform_display_init_params_.surfaces_state = new SurfacesState;
base::PlatformThread::SetName("mus");
@@ -223,7 +223,7 @@ void Service::Initialize(shell::Connector* connector,
new ws::TouchController(window_server_->display_manager()));
}
-bool Service::AcceptConnection(Connection* connection) {
+bool Service::OnConnect(Connection* connection) {
connection->AddInterface<mojom::Clipboard>(this);
connection->AddInterface<mojom::DisplayManager>(this);
connection->AddInterface<mojom::UserAccessManager>(this);
« no previous file with comments | « services/ui/service.h ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698