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

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

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 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
Index: chrome/renderer/extensions/runtime_custom_bindings.cc
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.cc b/chrome/renderer/extensions/runtime_custom_bindings.cc
index 587fcb738069487b719ee9ea1d3f47289938f17e..f374afa018dff463543c285e5f896907a8108661 100644
--- a/chrome/renderer/extensions/runtime_custom_bindings.cc
+++ b/chrome/renderer/extensions/runtime_custom_bindings.cc
@@ -65,7 +65,7 @@ v8::Handle<v8::Value> RuntimeCustomBindings::OpenChannelToNativeApp(
const v8::Arguments& args) {
// Verify that the extension has permission to use native messaging.
if (!dispatcher()->CheckContextAccessToExtensionAPI(
not at google - send to devlin 2013/06/12 22:34:18 It's a bit weird seeing a permission passed into h
cduvall 2013/06/13 01:02:28 Done.
- "nativeMessaging", context())) {
+ "permission:nativeMessaging", context())) {
return v8::Undefined();
}

Powered by Google App Engine
This is Rietveld 408576698