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

Unified Diff: content/browser/utility_process_host_impl_browsertest.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 years, 8 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 | « content/browser/utility_process_host_impl.cc ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl_browsertest.cc
diff --git a/content/browser/utility_process_host_impl_browsertest.cc b/content/browser/utility_process_host_impl_browsertest.cc
index c1f956eead13760577a06450ce9d8d305359f7a6..e283318bcd384135afb89ac62684323de65d88e1 100644
--- a/content/browser/utility_process_host_impl_browsertest.cc
+++ b/content/browser/utility_process_host_impl_browsertest.cc
@@ -39,7 +39,7 @@ class UtilityProcessHostImplBrowserTest : public ContentBrowserTest {
#endif
EXPECT_TRUE(host->Start());
- host->GetRemoteInterfaces()->GetInterface(&service_);
+ BindInterface(host, &service_);
service_->DoSomething(base::Bind(
&UtilityProcessHostImplBrowserTest::OnSomething,
base::Unretained(this)));
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698