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

Unified Diff: chrome/renderer/extensions/runtime_custom_bindings.h

Issue 12300041: Add nativeMessaging extension permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « chrome/renderer/extensions/dispatcher.cc ('k') | chrome/renderer/extensions/runtime_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/runtime_custom_bindings.h
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.h b/chrome/renderer/extensions/runtime_custom_bindings.h
index c2d25091f5aa7a11bc67ea4eb7bef47309312821..5ddf2482861883e57172a9fbad8a411847d07c15 100644
--- a/chrome/renderer/extensions/runtime_custom_bindings.h
+++ b/chrome/renderer/extensions/runtime_custom_bindings.h
@@ -17,7 +17,8 @@ namespace extensions {
// The native component of custom bindings for the chrome.runtime API.
class RuntimeCustomBindings : public ChromeV8Extension {
public:
- explicit RuntimeCustomBindings(ChromeV8Context* context);
+ RuntimeCustomBindings(Dispatcher* dispatcher,
+ ChromeV8Context* context);
virtual ~RuntimeCustomBindings();
@@ -25,7 +26,8 @@ class RuntimeCustomBindings : public ChromeV8Extension {
static v8::Handle<v8::Value> OpenChannelToExtension(
const v8::Arguments& args);
- static v8::Handle<v8::Value> OpenChannelToNativeApp(
+ // Creates a new messaging channels for the specified native application.
+ v8::Handle<v8::Value> OpenChannelToNativeApp(
const v8::Arguments& args);
private:
« no previous file with comments | « chrome/renderer/extensions/dispatcher.cc ('k') | chrome/renderer/extensions/runtime_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698