OLD | NEW |
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 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * OAuth2 API flow implementations. | 7 * OAuth2 API flow implementations. |
8 */ | 8 */ |
9 | 9 |
10 /** @suppress {duplicate} */ | 10 /** @suppress {duplicate} */ |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // recover from an unexpected failure by signing in again. | 234 // recover from an unexpected failure by signing in again. |
235 return new remoting.Error(remoting.Error.Tag.AUTHENTICATION_FAILED); | 235 return new remoting.Error(remoting.Error.Tag.AUTHENTICATION_FAILED); |
236 } | 236 } |
237 return error; | 237 return error; |
238 } | 238 } |
239 | 239 |
240 /** @type {remoting.OAuth2Api} */ | 240 /** @type {remoting.OAuth2Api} */ |
241 remoting.oauth2Api = new remoting.OAuth2ApiImpl(); | 241 remoting.oauth2Api = new remoting.OAuth2ApiImpl(); |
242 | 242 |
243 })(); | 243 })(); |
OLD | NEW |