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

Side by Side Diff: extensions/renderer/resources/keep_alive.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
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('keep_alive', [ 5 define('keep_alive', [
6 'content/public/renderer/service_provider', 6 'content/public/renderer/service_provider',
7 'extensions/common/mojo/keep_alive.mojom', 7 'extensions/common/mojo/keep_alive.mojom',
8 'mojo/public/js/bindings/core', 8 'mojo/public/js/core',
9 ], function(serviceProvider, mojom, core) { 9 ], function(serviceProvider, mojom, core) {
10 10
11 /** 11 /**
12 * An object that keeps the background page alive until closed. 12 * An object that keeps the background page alive until closed.
13 * @constructor 13 * @constructor
14 * @alias module:keep_alive~KeepAlive 14 * @alias module:keep_alive~KeepAlive
15 */ 15 */
16 function KeepAlive() { 16 function KeepAlive() {
17 /** 17 /**
18 * The handle to the keep-alive object in the browser. 18 * The handle to the keep-alive object in the browser.
(...skipping 13 matching lines...) Expand all
32 var exports = {}; 32 var exports = {};
33 33
34 return { 34 return {
35 /** 35 /**
36 * Creates a keep-alive. 36 * Creates a keep-alive.
37 * @return {!module:keep_alive~KeepAlive} A new keep-alive. 37 * @return {!module:keep_alive~KeepAlive} A new keep-alive.
38 */ 38 */
39 createKeepAlive: function() { return new KeepAlive(); } 39 createKeepAlive: function() { return new KeepAlive(); }
40 }; 40 };
41 }); 41 });
OLDNEW
« no previous file with comments | « extensions/renderer/resources/data_sender.js ('k') | extensions/renderer/resources/serial_service.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698