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

Unified Diff: mandoline/ui/aura/surface_binding.cc

Issue 1244233002: Allow trusted brokers to restrict connections for spawned applications to whitelisted applications … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
Index: mandoline/ui/aura/surface_binding.cc
diff --git a/mandoline/ui/aura/surface_binding.cc b/mandoline/ui/aura/surface_binding.cc
index 6f71d1e85a9d0e9ae1af7e3e657e9c98e82dea2f..f610fed0f658132d6d35602d1ccf676d9b91d5c3 100644
--- a/mandoline/ui/aura/surface_binding.cc
+++ b/mandoline/ui/aura/surface_binding.cc
@@ -208,6 +208,7 @@ void SurfaceBinding::PerViewManagerState::Init() {
request->url = mojo::String::From("mojo:surfaces_service");
shell_->ConnectToApplication(request.Pass(),
GetProxy(&surfaces_service_provider),
+ nullptr,
nullptr);
ConnectToService(surfaces_service_provider.get(), &surface_);
surface_->GetIdNamespace(
@@ -227,6 +228,7 @@ void SurfaceBinding::PerViewManagerState::Init() {
request2->url = mojo::String::From("mojo:view_manager");
shell_->ConnectToApplication(request2.Pass(),
GetProxy(&gpu_service_provider),
+ nullptr,
nullptr);
ConnectToService(gpu_service_provider.get(), &gpu_);
}

Powered by Google App Engine
This is Rietveld 408576698