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

Side by Side Diff: chrome/browser/ui/webui/identity_internals/identity_internals.mojom

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT for commit Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698