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

Unified Diff: ios/web/webui/mojo_facade_unittest.mm

Issue 2446313003: Revise InterfaceRegistry API to support filtering interfaces @ Bind() time. (Closed)
Patch Set: . Created 4 years, 2 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 | « ios/web/web_state/web_state_impl.mm ('k') | services/catalog/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/mojo_facade_unittest.mm
diff --git a/ios/web/webui/mojo_facade_unittest.mm b/ios/web/webui/mojo_facade_unittest.mm
index bf839ab87c016c094ca842b959f51658d3508fb4..4f54ca4b51656d3d487e839948c169a83eafe725 100644
--- a/ios/web/webui/mojo_facade_unittest.mm
+++ b/ios/web/webui/mojo_facade_unittest.mm
@@ -61,7 +61,8 @@ class TestUIHandlerFactory
class MojoFacadeTest : public WebTest {
protected:
MojoFacadeTest() {
- interface_registry_.reset(new service_manager::InterfaceRegistry);
+ interface_registry_.reset(new service_manager::InterfaceRegistry(
+ service_manager::Identity(), service_manager::InterfaceProviderSpec()));
interface_registry_->AddInterface(&ui_handler_factory_);
evaluator_.reset([[OCMockObject
mockForProtocol:@protocol(CRWJSInjectionEvaluator)] retain]);
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | services/catalog/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698