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

Unified Diff: mash/task_viewer/task_viewer.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/task_viewer/task_viewer.h ('k') | mash/webtest/webtest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/task_viewer/task_viewer.cc
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
index 51f6cbdac1c2a4b2333251856d97a08dc99e1204..321c858fa7daa00f629e9f3da17a55556c7a3722 100644
--- a/mash/task_viewer/task_viewer.cc
+++ b/mash/task_viewer/task_viewer.cc
@@ -283,9 +283,9 @@ void TaskViewer::RemoveWindow(views::Widget* widget) {
base::MessageLoop::current()->QuitWhenIdle();
}
-void TaskViewer::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void TaskViewer::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
tracing_.Initialize(connector, identity.name());
@@ -294,7 +294,7 @@ void TaskViewer::Initialize(shell::Connector* connector,
views::WindowManagerConnection::Create(connector, identity);
}
-bool TaskViewer::AcceptConnection(shell::Connection* connection) {
+bool TaskViewer::OnConnect(shell::Connection* connection) {
connection->AddInterface<mojom::Launchable>(this);
return true;
}
« no previous file with comments | « mash/task_viewer/task_viewer.h ('k') | mash/webtest/webtest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698