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

Unified Diff: chrome/common/extensions/api/identity_private.idl

Issue 14768009: Identity API: Add component app for auth flow UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to ToT Created 7 years, 7 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
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/extension_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/identity_private.idl
diff --git a/chrome/common/extensions/api/identity_private.idl b/chrome/common/extensions/api/identity_private.idl
new file mode 100644
index 0000000000000000000000000000000000000000..2f44ffe1eff4256a7941337cd69f1b5afc07f27f
--- /dev/null
+++ b/chrome/common/extensions/api/identity_private.idl
@@ -0,0 +1,20 @@
+// Copyright (c) 2013 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.
+
+namespace identityPrivate {
+
+ callback GetResourcesCallback = void (object result);
+
+ interface Functions {
+ // Gets resources required to render the API.
+ //
+ // |callback| : Called with a dictionary mapping names to resource strings.
+ static void getResources(GetResourcesCallback callback);
+ };
+
+ interface Events {
+ // Fired when a web flow dialog should be displayed.
+ static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode);
+ };
+};
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/extension_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698