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

Unified 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 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/identity_internals/identity_internals.mojom
diff --git a/chrome/browser/ui/webui/identity_internals/identity_internals.mojom b/chrome/browser/ui/webui/identity_internals/identity_internals.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..1e92d12a0b74afd84a55b5377cb3dd1fd5ec073e
--- /dev/null
+++ b/chrome/browser/ui/webui/identity_internals/identity_internals.mojom
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+struct IdentityTokenMojo {
sky 2014/07/23 23:35:10 It would be nice if this had some comments.
+ string access_token;
+ string extension_name;
+ string extension_id;
+ string token_status;
+ string expiration_time;
+ string[] scopes;
+};
+
+[Client=InternalsPage]
+interface IdentityInternalsHandlerMojo {
+ GetTokens() => (IdentityTokenMojo[] tokens);
+ RevokeToken(string extension_id, string access_token) => ();
+};
+
+interface InternalsPage {
+};

Powered by Google App Engine
This is Rietveld 408576698