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

Unified Diff: content/child/mojo/mojo_application.h

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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/child/child_thread_impl.h ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/mojo/mojo_application.h
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h
index 68602c4fd36d892d966b4dc1a09031fdf6fbce58..c1005b9373f6fe28dd7299255062d43056e955b9 100644
--- a/content/child/mojo/mojo_application.h
+++ b/content/child/mojo/mojo_application.h
@@ -8,7 +8,8 @@
#include <string>
#include "base/macros.h"
-#include "content/common/mojo/service_registry_impl.h"
+#include "services/shell/public/cpp/interface_provider.h"
+#include "services/shell/public/cpp/interface_registry.h"
namespace content {
@@ -25,10 +26,16 @@ class MojoApplication {
// |token|.
void InitWithToken(const std::string& token);
- ServiceRegistry* service_registry() { return &service_registry_; }
+ shell::InterfaceRegistry* interface_registry() {
+ return interface_registry_.get();
+ }
+ shell::InterfaceProvider* remote_interfaces() {
+ return remote_interfaces_.get();
+ }
private:
- ServiceRegistryImpl service_registry_;
+ std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
+ std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
DISALLOW_COPY_AND_ASSIGN(MojoApplication);
};
« no previous file with comments | « content/child/child_thread_impl.h ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698