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

Unified Diff: extensions/renderer/api_bindings_system.cc

Issue 2953453002: [Extensions Bindings] Add access checks in custom types (Closed)
Patch Set: lazyboy's Created 3 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 | « extensions/renderer/api_bindings_system.h ('k') | extensions/renderer/chrome_setting.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_bindings_system.cc
diff --git a/extensions/renderer/api_bindings_system.cc b/extensions/renderer/api_bindings_system.cc
index 11011903e7de4f31ead43ec423f64df01c36843b..c39be87b7ca6ab000ccf31a335e366b1fe61f166 100644
--- a/extensions/renderer/api_bindings_system.cc
+++ b/extensions/renderer/api_bindings_system.cc
@@ -139,7 +139,7 @@ v8::Local<v8::Object> APIBindingsSystem::CreateCustomType(
DCHECK(iter != custom_types_.end()) << "Custom type not found: " << type_name;
return iter->second.Run(isolate, property_name, property_values,
&request_handler_, &event_handler_,
- &type_reference_map_);
+ &type_reference_map_, &access_checker_);
}
} // namespace extensions
« no previous file with comments | « extensions/renderer/api_bindings_system.h ('k') | extensions/renderer/chrome_setting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698