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

Unified Diff: extensions/shell/common/api/shell_identity.idl

Issue 660333003: Add support for app_shell-only extension APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (shell-identity) rebase Created 6 years, 2 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: extensions/shell/common/api/shell_identity.idl
diff --git a/extensions/shell/common/api/shell_identity.idl b/extensions/shell/common/api/shell_identity.idl
new file mode 100644
index 0000000000000000000000000000000000000000..6772baed5c0b4fdd5a4addc9520b80ecf15f5f24
--- /dev/null
+++ b/extensions/shell/common/api/shell_identity.idl
@@ -0,0 +1,14 @@
+// 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.
+
+// Use the <code>chrome.shell.identity</code> API to retrieve OAuth2 tokens
+// for user accounts. See also <code>chrome.identity</code>.
+namespace shell.identity {
+
+ interface Functions {
+ // TODO(jamescook): Implement this with options and a callback.
+ static void getAuthToken();
+ };
+
+};

Powered by Google App Engine
This is Rietveld 408576698