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

Side by Side Diff: mojo/public/js/test/validation_test_input_parser.js

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month 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
« no previous file with comments | « mojo/public/js/support.js ('k') | mojo/public/js/unicode.js » ('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 // Support for parsing binary sequences encoded as readable strings 5 // Support for parsing binary sequences encoded as readable strings
6 // or ".data" files. The input format is described here: 6 // or ".data" files. The input format is described here:
7 // mojo/public/cpp/bindings/tests/validation_test_input_parser.h 7 // mojo/public/cpp/bindings/tests/validation_test_input_parser.h
8 8
9 define([ 9 define([
10 "mojo/public/js/bindings/buffer" 10 "mojo/public/js/buffer"
11 ], function(buffer) { 11 ], function(buffer) {
12 12
13 // Files and Lines represent the raw text from an input string 13 // Files and Lines represent the raw text from an input string
14 // or ".data" file. 14 // or ".data" file.
15 15
16 function InputError(message, line) { 16 function InputError(message, line) {
17 this.message = message; 17 this.message = message;
18 this.line = line; 18 this.line = line;
19 } 19 }
20 20
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 throw new InputError('no anchors for ' + names, 0); 290 throw new InputError('no anchors for ' + names, 0);
291 291
292 return msg; 292 return msg;
293 } 293 }
294 294
295 var exports = {}; 295 var exports = {};
296 exports.parseTestMessage = parseTestMessage; 296 exports.parseTestMessage = parseTestMessage;
297 exports.InputError = InputError; 297 exports.InputError = InputError;
298 return exports; 298 return exports;
299 }); 299 });
OLDNEW
« no previous file with comments | « mojo/public/js/support.js ('k') | mojo/public/js/unicode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698