| 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 // Data structure passed from the browser process to the webui page with all |
| 6 // data about an individual identity token. |
| 7 struct IdentityTokenMojo { |
| 8 string access_token; |
| 9 string extension_name; |
| 10 string extension_id; |
| 11 string token_status; |
| 12 string expiration_time; |
| 13 string[] scopes; |
| 14 }; |
| 15 |
| 16 [Client=InternalsPage] |
| 17 interface IdentityInternalsHandlerMojo { |
| 18 GetTokens() => (IdentityTokenMojo[] tokens); |
| 19 RevokeToken(string extension_id, string access_token) => (); |
| 20 }; |
| 21 |
| 22 // Empty interface to represent the page. |
| 23 // |
| 24 // TODO(erg): Once the javascript bindings no longer require the page to have |
| 25 // an interface, remove this. |
| 26 interface InternalsPage { |
| 27 }; |
| OLD | NEW |