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

Unified Diff: services/navigation/navigation.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/navigation/navigation.h ('k') | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/navigation.cc
diff --git a/services/navigation/navigation.cc b/services/navigation/navigation.cc
index 6cff8361e58f0dbabfcc1adb080614a055da1721..91e46ce10631eb908d07e919224d273d4f661356 100644
--- a/services/navigation/navigation.cc
+++ b/services/navigation/navigation.cc
@@ -17,13 +17,13 @@ Navigation::Navigation()
}
Navigation::~Navigation() {}
-void Navigation::Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t instance_id) {
+void Navigation::OnStart(shell::Connector* connector,
+ const shell::Identity& identity,
+ uint32_t instance_id) {
connector_ = connector;
}
-bool Navigation::AcceptConnection(shell::Connection* connection) {
+bool Navigation::OnConnect(shell::Connection* connection) {
std::string remote_user_id = connection->GetRemoteIdentity().user_id();
if (!client_user_id_.empty() && client_user_id_ != remote_user_id) {
LOG(ERROR) << "Must have a separate Navigation service instance for "
« no previous file with comments | « services/navigation/navigation.h ('k') | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698