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

Unified Diff: content/renderer/mojo/interface_provider_js_wrapper.h

Issue 2420253002: Rename shell namespace to service_manager (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
Index: content/renderer/mojo/interface_provider_js_wrapper.h
diff --git a/content/renderer/mojo/interface_provider_js_wrapper.h b/content/renderer/mojo/interface_provider_js_wrapper.h
index 0c5c6eb9bac3815d3946f461c44dc3be1221cf88..aa0a47956da46eda4d866c6b59f7544b4d3370ea 100644
--- a/content/renderer/mojo/interface_provider_js_wrapper.h
+++ b/content/renderer/mojo/interface_provider_js_wrapper.h
@@ -15,13 +15,14 @@
#include "mojo/public/cpp/system/message_pipe.h"
#include "v8/include/v8.h"
-namespace shell {
+namespace service_manager {
class InterfaceProvider;
}
namespace content {
-// A JS wrapper around shell::InterfaceProvider that allows connecting to
+// A JS wrapper around service_manager::InterfaceProvider that allows connecting
+// to
// remote services.
class CONTENT_EXPORT InterfaceProviderJsWrapper
: public gin::Wrappable<InterfaceProviderJsWrapper> {
@@ -30,7 +31,7 @@ class CONTENT_EXPORT InterfaceProviderJsWrapper
static gin::Handle<InterfaceProviderJsWrapper> Create(
v8::Isolate* isolate,
v8::Handle<v8::Context> context,
- shell::InterfaceProvider* remote_interfaces);
+ service_manager::InterfaceProvider* remote_interfaces);
// gin::Wrappable<InterfaceProviderJsWrapper> overrides.
gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
@@ -53,7 +54,7 @@ class CONTENT_EXPORT InterfaceProviderJsWrapper
InterfaceProviderJsWrapper(
v8::Isolate* isolate,
v8::Handle<v8::Context> context,
- base::WeakPtr<shell::InterfaceProvider> remote_interfaces);
+ base::WeakPtr<service_manager::InterfaceProvider> remote_interfaces);
void CallJsFactory(const ScopedJsFactory& factory,
mojo::ScopedMessagePipeHandle pipe);
@@ -63,7 +64,7 @@ class CONTENT_EXPORT InterfaceProviderJsWrapper
v8::Isolate* isolate_;
v8::Global<v8::Context> context_;
- base::WeakPtr<shell::InterfaceProvider> remote_interfaces_;
+ base::WeakPtr<service_manager::InterfaceProvider> remote_interfaces_;
base::WeakPtrFactory<InterfaceProviderJsWrapper> weak_factory_;
« no previous file with comments | « content/renderer/mojo/blink_interface_registry_impl.cc ('k') | content/renderer/mojo/interface_provider_js_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698