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

Unified Diff: extensions/shell/browser/api/identity/identity_api.h

Issue 804673002: app_shell: Extend identity API stub (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unlimited-storage
Patch Set: (identity-stub) rebase Created 6 years 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 | « no previous file | extensions/shell/browser/api/identity/identity_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/api/identity/identity_api.h
diff --git a/extensions/shell/browser/api/identity/identity_api.h b/extensions/shell/browser/api/identity/identity_api.h
index acfc2dbffc52f4a04c521618592282fcf3bdccb5..38bf1772fb50996ad2e3e1111e4414b35f1b9f35 100644
--- a/extensions/shell/browser/api/identity/identity_api.h
+++ b/extensions/shell/browser/api/identity/identity_api.h
@@ -41,6 +41,23 @@ class IdentityGetAuthTokenFunction : public UIThreadExtensionFunction,
DISALLOW_COPY_AND_ASSIGN(IdentityGetAuthTokenFunction);
};
+// Stub. See the IDL file for documentation.
+class IdentityRemoveCachedAuthTokenFunction : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("identity.removeCachedAuthToken", UNKNOWN)
+
+ IdentityRemoveCachedAuthTokenFunction();
+
+ protected:
+ ~IdentityRemoveCachedAuthTokenFunction() override;
+
+ // ExtensionFunction:
+ ResponseAction Run() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IdentityRemoveCachedAuthTokenFunction);
+};
+
} // namespace shell
} // namespace extensions
« no previous file with comments | « no previous file | extensions/shell/browser/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698