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

Side by Side Diff: extensions/renderer/resources/async_waiter.js

Issue 693343003: Update to using //mojo/public/js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/resources/data_receiver.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 define('async_waiter', [ 5 define('async_waiter', [
6 'mojo/public/js/bindings/support', 6 'mojo/public/js/support',
7 ], function(supportModule) { 7 ], function(supportModule) {
8 /** 8 /**
9 * @module async_waiter 9 * @module async_waiter
10 */ 10 */
11 11
12 /** 12 /**
13 * @callback module:async_waiter.AsyncWaiter.Callback 13 * @callback module:async_waiter.AsyncWaiter.Callback
14 * @param {number} result The result of waiting. 14 * @param {number} result The result of waiting.
15 */ 15 */
16 16
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 * @param {number} result The result of the wait. 84 * @param {number} result The result of the wait.
85 * @private 85 * @private
86 */ 86 */
87 AsyncWaiter.prototype.onHandleReady_ = function(result) { 87 AsyncWaiter.prototype.onHandleReady_ = function(result) {
88 this.id_ = null; 88 this.id_ = null;
89 this.callback_(result); 89 this.callback_(result);
90 }; 90 };
91 91
92 return {AsyncWaiter: AsyncWaiter}; 92 return {AsyncWaiter: AsyncWaiter};
93 }); 93 });
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/resources/data_receiver.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698