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

Unified Diff: shell/android/native_viewport_application_loader.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
Index: shell/android/native_viewport_application_loader.cc
diff --git a/shell/android/native_viewport_application_loader.cc b/shell/android/native_viewport_application_loader.cc
index 34450a9b8b9fb392336e794af16cab8917e1bf46..ea9bc9bef7046c399ca2709fd2a2175e921df9ed 100644
--- a/shell/android/native_viewport_application_loader.cc
+++ b/shell/android/native_viewport_application_loader.cc
@@ -9,6 +9,7 @@
#include "services/native_viewport/native_viewport_impl.h"
using mojo::ApplicationConnection;
+using mojo::ConnectionContext;
using mojo::InterfaceRequest;
namespace shell {
@@ -34,7 +35,7 @@ bool NativeViewportApplicationLoader::ConfigureIncomingConnection(
}
void NativeViewportApplicationLoader::Create(
- ApplicationConnection* connection,
+ const ConnectionContext& connection_context,
InterfaceRequest<mojo::NativeViewport> request) {
if (!gpu_state_)
gpu_state_ = new gles2::GpuState;
@@ -43,7 +44,7 @@ void NativeViewportApplicationLoader::Create(
}
void NativeViewportApplicationLoader::Create(
- ApplicationConnection* connection,
+ const ConnectionContext& connection_context,
InterfaceRequest<mojo::Gpu> request) {
if (!gpu_state_)
gpu_state_ = new gles2::GpuState;
« no previous file with comments | « shell/android/native_viewport_application_loader.h ('k') | shell/application_manager/application_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698