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

Unified Diff: mojo/shell/view_manager_loader.cc

Issue 400113005: A new WM bootstrap flow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | « mojo/shell/view_manager_loader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/view_manager_loader.cc
diff --git a/mojo/shell/view_manager_loader.cc b/mojo/shell/view_manager_loader.cc
index 6b93eac16e079659a0598b44b20462aedfa5ef50..934305927839a365e27bd3b9aec5a4c8186b091a 100644
--- a/mojo/shell/view_manager_loader.cc
+++ b/mojo/shell/view_manager_loader.cc
@@ -37,7 +37,8 @@ void ViewManagerLoader::OnServiceError(ServiceManager* manager,
}
bool ViewManagerLoader::ConfigureIncomingConnection(
- ApplicationConnection* connection) {
+ ApplicationConnection* connection) {
+ context_.ConfigureIncomingConnection(connection);
connection->AddService(this);
return true;
}
@@ -45,7 +46,8 @@ bool ViewManagerLoader::ConfigureIncomingConnection(
void ViewManagerLoader::Create(
ApplicationConnection* connection,
InterfaceRequest<ViewManagerInitService> request) {
- BindToRequest(new ViewManagerInitServiceImpl(connection), &request);
+ BindToRequest(new ViewManagerInitServiceImpl(connection, &context_),
+ &request);
}
} // namespace shell
« no previous file with comments | « mojo/shell/view_manager_loader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698