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

Side by Side Diff: mojo/public/js/bindings/constants.h

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, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/js/bindings/codec.js ('k') | mojo/public/js/bindings/constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_ 5 #ifndef MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_
6 #define MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_ 6 #define MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_
7 7
8 namespace mojo { 8 namespace mojo {
9 9
10 // JavaScript module names: 10 // JavaScript module names:
11 extern const char kBufferModuleName[]; 11 extern const char kBufferModuleName[];
12 extern const char kCodecModuleName[]; 12 extern const char kCodecModuleName[];
13 extern const char kConnectionModuleName[]; 13 extern const char kConnectionModuleName[];
14 extern const char kConnectorModuleName[]; 14 extern const char kConnectorModuleName[];
15 extern const char kUnicodeModuleName[]; 15 extern const char kUnicodeModuleName[];
16 extern const char kRouterModuleName[]; 16 extern const char kRouterModuleName[];
17 extern const char kValidatorModuleName[];
17 18
18 } // namespace mojo 19 } // namespace mojo
19 20
20 #endif // MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_ 21 #endif // MOJO_PUBLIC_JS_BINDINGS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « mojo/public/js/bindings/codec.js ('k') | mojo/public/js/bindings/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698