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

Unified Diff: content/renderer/web_ui_mojo_context_state.h

Issue 302573002: Add a Javascript wrapper around ServiceRegistry and expose it to WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render-view-shell
Patch Set: address comments Created 6 years, 5 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/renderer/web_ui_mojo.cc ('k') | content/renderer/web_ui_mojo_context_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_ui_mojo_context_state.h
diff --git a/content/renderer/web_ui_mojo_context_state.h b/content/renderer/web_ui_mojo_context_state.h
index e4eb0a4ed58dd2fabe8f783ba655bffafaa9d7bc..74a435ae09be89d0fc784e592d7e456a56870bc3 100644
--- a/content/renderer/web_ui_mojo_context_state.h
+++ b/content/renderer/web_ui_mojo_context_state.h
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "gin/modules/module_registry_observer.h"
-#include "mojo/public/cpp/system/core.h"
#include "v8/include/v8.h"
namespace blink {
@@ -38,8 +37,7 @@ class WebUIMojoContextState : public gin::ModuleRegistryObserver {
v8::Handle<v8::Context> context);
virtual ~WebUIMojoContextState();
- // Called once the mojo::Handle is available.
- void SetHandle(mojo::ScopedMessagePipeHandle handle);
+ void Run();
// Returns true if at least one module was added.
bool module_added() const { return module_added_; }
« no previous file with comments | « content/renderer/web_ui_mojo.cc ('k') | content/renderer/web_ui_mojo_context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698