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

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: Maybe fix the gn build. Created 6 years, 5 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 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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698