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

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

Issue 1827473002: Make the process-wide ServiceRegistry available to JS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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('stash_client', [ 5 define('stash_client', [
6 'async_waiter', 6 'async_waiter',
7 'content/public/renderer/service_provider', 7 'content/public/renderer/frame_service_registry',
8 'extensions/common/mojo/stash.mojom', 8 'extensions/common/mojo/stash.mojom',
9 'mojo/public/js/buffer', 9 'mojo/public/js/buffer',
10 'mojo/public/js/codec', 10 'mojo/public/js/codec',
11 'mojo/public/js/core', 11 'mojo/public/js/core',
12 'mojo/public/js/router', 12 'mojo/public/js/router',
13 ], function(asyncWaiter, serviceProvider, stashMojom, bufferModule, 13 ], function(asyncWaiter, serviceProvider, stashMojom, bufferModule,
14 codec, core, routerModule) { 14 codec, core, routerModule) {
15 /** 15 /**
16 * @module stash_client 16 * @module stash_client
17 */ 17 */
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 service.addToStash(flattenedObjectsToStash); 159 service.addToStash(flattenedObjectsToStash);
160 }); 160 });
161 } 161 }
162 162
163 return { 163 return {
164 registerClient: registerClient, 164 registerClient: registerClient,
165 retrieve: retrieve, 165 retrieve: retrieve,
166 saveStashForTesting: saveStashForTesting, 166 saveStashForTesting: saveStashForTesting,
167 }; 167 };
168 }); 168 });
OLDNEW
« no previous file with comments | « extensions/renderer/resources/serial_service.js ('k') | extensions/test/data/api_test_base_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698