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

Unified Diff: mash/app_driver/app_driver.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/app_driver/app_driver.h ('k') | mash/browser/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/app_driver/app_driver.cc
diff --git a/mash/app_driver/app_driver.cc b/mash/app_driver/app_driver.cc
index 008506d5d2ad78ee3479fd44afee611261979ecc..4947911b3c28975665c8f0574ad094cc91a4ded4 100644
--- a/mash/app_driver/app_driver.cc
+++ b/mash/app_driver/app_driver.cc
@@ -85,18 +85,18 @@ void AppDriver::OnAvailableCatalogEntries(
}
}
-void AppDriver::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
+void AppDriver::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t id) {
connector_ = connector;
AddAccelerators();
}
-bool AppDriver::AcceptConnection(shell::Connection* connection) {
+bool AppDriver::OnConnect(shell::Connection* connection) {
return true;
}
-bool AppDriver::ShellConnectionLost() {
+bool AppDriver::OnStop() {
// Prevent the code in AddAccelerators() from keeping this app alive.
binding_.set_connection_error_handler(base::Bind(&DoNothing));
return true;
« no previous file with comments | « mash/app_driver/app_driver.h ('k') | mash/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698