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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 424463003: Basic Mojo message header validation for JavaScript. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One last change for JS purists 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
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index a00e7d68f5d0728f066548f9c5d524006082ef61..88d670ec2e413990c6cc0e640b721c603d27374b 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -495,6 +495,8 @@ std::vector<std::pair<std::string, int> > Dispatcher::GetJsResources() {
std::make_pair(mojo::kRouterModuleName, IDR_MOJO_ROUTER_JS));
resources.push_back(
std::make_pair(mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS));
+ resources.push_back(
+ std::make_pair(mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS));
// Custom bindings.
resources.push_back(

Powered by Google App Engine
This is Rietveld 408576698