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

Unified Diff: mojo/shell/shell_application_delegate.cc

Issue 1465793005: Pass CapabilityFilter via CreateInstanceForHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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/shell_application_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_delegate.cc
diff --git a/mojo/shell/shell_application_delegate.cc b/mojo/shell/shell_application_delegate.cc
index 8c9faa7a7a57a15d05b607fc8d77b8fd06a0518d..445bc373ae57ed72f929dfcecb4ec5157186fa5f 100644
--- a/mojo/shell/shell_application_delegate.cc
+++ b/mojo/shell/shell_application_delegate.cc
@@ -28,9 +28,11 @@ void ShellApplicationDelegate::Create(
bindings_.AddBinding(this, request.Pass());
}
-void ShellApplicationDelegate::CreateInstanceForHandle(ScopedHandle channel,
- const String& url) {
- manager_->CreateInstanceForHandle(channel.Pass(), GURL(url));
+void ShellApplicationDelegate::CreateInstanceForHandle(
+ ScopedHandle channel,
+ const String& url,
+ CapabilityFilterPtr filter) {
+ manager_->CreateInstanceForHandle(channel.Pass(), GURL(url), filter.Pass());
}
} // namespace shell
« no previous file with comments | « mojo/shell/shell_application_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698