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

Unified Diff: mojo/shell/background/background_shell.cc

Issue 1734643003: Remove CapabilityFilter from Connect() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@13connector2
Patch Set: . Created 4 years, 10 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/application_manager.cc ('k') | mojo/shell/connect_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/background/background_shell.cc
diff --git a/mojo/shell/background/background_shell.cc b/mojo/shell/background/background_shell.cc
index 5d8bdc51e24ecc6f9a79b9de764d0e03f69e34f5..3ba12033da186dc9bb5e7458139e97a451891fcc 100644
--- a/mojo/shell/background/background_shell.cc
+++ b/mojo/shell/background/background_shell.cc
@@ -180,9 +180,7 @@ void BackgroundShell::Init(scoped_ptr<InitParams> init_params) {
mojom::ShellClientRequest BackgroundShell::CreateShellClientRequest(
const GURL& url) {
scoped_ptr<ConnectParams> params(new ConnectParams);
- params->set_target(
- Identity(url, std::string(), mojom::Connector::kUserRoot,
- GetPermissiveCapabilityFilter()));
+ params->set_target(Identity(url, std::string(), mojom::Connector::kUserRoot));
mojom::ShellClientRequest request;
base::WaitableEvent signal(true, false);
thread_->message_loop()->task_runner()->PostTask(
« no previous file with comments | « mojo/shell/application_manager.cc ('k') | mojo/shell/connect_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698