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

Unified Diff: ios/web/web_state/web_state_impl.h

Issue 2847743003: Eliminate InterfaceRegistry (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 | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_impl.h
diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
index 25d7d2288641511398a3b3aa6275cfc22b8e681e..5d722b4412dca5a0b81a02d2800e4436034b34c3 100644
--- a/ios/web/web_state/web_state_impl.h
+++ b/ios/web/web_state/web_state_impl.h
@@ -44,6 +44,7 @@ struct LoadCommittedDetails;
class NavigationManager;
class SessionCertificatePolicyCacheImpl;
class WebInterstitialImpl;
+class WebStateInterfaceProvider;
class WebStatePolicyDecider;
class WebUIIOS;
@@ -210,7 +211,7 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
const std::string& command_prefix) override;
void RemoveScriptCommandCallback(const std::string& command_prefix) override;
id<CRWWebViewProxy> GetWebViewProxy() const override;
- service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override;
+ WebStateInterfaceProvider* GetWebStateInterfaceProvider() override;
bool HasOpener() const override;
base::WeakPtr<WebState> AsWeakPtr() override;
@@ -351,7 +352,7 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
base::WeakPtrFactory<WebState> weak_factory_;
// Mojo interface registry for this WebState.
- std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
+ std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_;
DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
};
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698