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

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: make claimRange() consistent with isValidRange() 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/content_resources.grd ('k') | mojo/public/js/bindings/codec.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index 5a90f7088f93fac9220e79ebeb5f0d064ecf00be..91c1cbd802154e83c2181c47900dda564197ec24 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(
« no previous file with comments | « content/content_resources.grd ('k') | mojo/public/js/bindings/codec.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698