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

Unified Diff: services/ui/service.h

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/public/cpp/tests/window_server_test_base.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index 056ed97aa5e96970f8f49d891aa6541e527600a3..48c11efef134fa4350c08bae606a8c4829e8bfbd 100644
--- a/services/ui/service.h
+++ b/services/ui/service.h
@@ -16,7 +16,7 @@
#include "base/memory/weak_ptr.h"
#include "services/shell/public/cpp/application_runner.h"
#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "services/tracing/public/cpp/tracing_impl.h"
#include "services/ui/input_devices/input_device_server.h"
#include "services/ui/public/interfaces/clipboard.mojom.h"
@@ -58,7 +58,7 @@ class WindowServer;
}
class Service
- : public shell::ShellClient,
+ : public shell::Service,
public ws::WindowServerDelegate,
public shell::InterfaceFactory<mojom::Clipboard>,
public shell::InterfaceFactory<mojom::DisplayManager>,
@@ -92,11 +92,11 @@ class Service
void AddUserIfNecessary(shell::Connection* connection);
- // shell::ShellClient:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
- bool AcceptConnection(shell::Connection* connection) override;
+ // shell::Service:
+ void OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) override;
+ bool OnConnect(shell::Connection* connection) override;
// WindowServerDelegate:
void OnFirstDisplayReady() override;
« no previous file with comments | « services/ui/public/cpp/tests/window_server_test_base.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698