Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 struct IdentityTokenMojo { | |
| 6 string access_token; | |
| 7 string extension_name; | |
| 8 string extension_id; | |
| 9 string token_status; | |
| 10 string expiration_time; | |
| 11 string[] scopes; | |
| 12 }; | |
| 13 | |
| 14 [Client=InternalsPage] | |
| 15 interface IdentityInternalsHandlerMojo { | |
| 16 GetTokens(); | |
| 17 RevokeToken(string extension_id, string access_token); | |
| 18 }; | |
| 19 | |
| 20 interface InternalsPage { | |
| 21 GetTokensDone(IdentityTokenMojo[] tokens); // was returnTokens | |
|
darin (slow to review)
2014/07/04 14:27:06
perhaps these should be modeled as callbacks?
Get
| |
| 22 RevokeTokenDone(string access_token); // was tokenRevokeDone | |
| 23 }; | |
| OLD | NEW |