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

Unified Diff: mash/browser/browser.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 | « mash/browser/browser.h ('k') | mash/catalog_viewer/catalog_viewer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/browser/browser.cc
diff --git a/mash/browser/browser.cc b/mash/browser/browser.cc
index 08a1bbf37b379b3612fcef72601da3ea20e0cf5f..dbeecdd048c358cea19327fd25e7d922780328cf 100644
--- a/mash/browser/browser.cc
+++ b/mash/browser/browser.cc
@@ -22,7 +22,7 @@
#include "services/navigation/public/interfaces/view.mojom.h"
#include "services/shell/public/cpp/application_runner.h"
#include "services/shell/public/cpp/connector.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/public/cpp/window.h"
#include "services/ui/public/cpp/window_tree_client.h"
@@ -865,9 +865,9 @@ std::unique_ptr<navigation::View> Browser::CreateView() {
return base::WrapUnique(new navigation::View(std::move(factory)));
}
-void Browser::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void Browser::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
tracing_.Initialize(connector, identity.name());
@@ -876,7 +876,7 @@ void Browser::Initialize(shell::Connector* connector,
views::WindowManagerConnection::Create(connector, identity);
}
-bool Browser::AcceptConnection(shell::Connection* connection) {
+bool Browser::OnConnect(shell::Connection* connection) {
connection->AddInterface<mojom::Launchable>(this);
return true;
}
« no previous file with comments | « mash/browser/browser.h ('k') | mash/catalog_viewer/catalog_viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698