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

Side by Side Diff: remoting/webapp/app_remoting/js/gaia_license_manager.js

Issue 1816653002: Remove app_remoting. (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
(Empty)
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
3 // found in the LICENSE file.
4
5 /** @suppress {duplicate} */
6 var remoting = remoting || {};
7
8 (function() {
9
10 "use strict";
11
12 /**
13 * A simple implementation of AppRemotingAuth using the user's GAIA token.
14 *
15 * @implements{remoting.LicenseManager}
16 * @constructor
17 */
18 remoting.GaiaLicenseManager = function() {};
19
20 /**
21 * @param {string} oauthToken
22 * @return {Promise<!string>}
23 */
24 remoting.GaiaLicenseManager.prototype.getSubscriptionToken =
25 function(oauthToken) {
26 return Promise.resolve(oauthToken);
27 };
28
29 /**
30 * @param {string} oauthToken
31 * @return {Promise<!string>}
32 */
33 remoting.GaiaLicenseManager.prototype.getAccessToken = function(oauthToken) {
34 return Promise.resolve("");
35 };
36
37 })();
38
OLDNEW
« no previous file with comments | « remoting/webapp/app_remoting/js/feedback_consent.js ('k') | remoting/webapp/app_remoting/js/idle_detector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698