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

Side by Side Diff: mojo/public/bindings/sample/sample_service_unittests.js

Issue 100573003: [Mojo] Move JS bindings out of public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix header guards Created 7 years 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/bindings/js/waiting_callback.cc ('k') | mojo/tools/mojob.sh » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 define([ 5 define([
6 "console", 6 "console",
7 "mojo/public/bindings/js/test/hexdump", 7 "mojo/apps/js/test/hexdump",
8 "gin/test/expect", 8 "gin/test/expect",
9 "mojom/sample_service" 9 "mojom/sample_service"
10 ], function(console, hexdump, expect, sample) { 10 ], function(console, hexdump, expect, sample) {
11 11
12 var global = this; 12 var global = this;
13 13
14 // Set this variable to true to print the binary message in hex. 14 // Set this variable to true to print the binary message in hex.
15 var dumpMessageAsHex = false; 15 var dumpMessageAsHex = false;
16 16
17 function makeFoo() { 17 function makeFoo() {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 var receiver = new SimpleMessageReceiver(); 108 var receiver = new SimpleMessageReceiver();
109 var serviceProxy = new sample.ServiceProxy(receiver); 109 var serviceProxy = new sample.ServiceProxy(receiver);
110 110
111 var foo = makeFoo(); 111 var foo = makeFoo();
112 checkFoo(foo); 112 checkFoo(foo);
113 113
114 var port = 10; 114 var port = 10;
115 serviceProxy.frobinate(foo, true, port); 115 serviceProxy.frobinate(foo, true, port);
116 }); 116 });
OLDNEW
« no previous file with comments | « mojo/public/bindings/js/waiting_callback.cc ('k') | mojo/tools/mojob.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698