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

Side by Side Diff: extensions/shell/browser/api/shell_identity/shell_identity_api.h

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 unified diff | Download patch
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 #ifndef EXTENSIONS_SHELL_BROWSER_API_SHELL_IDENTITY_SHELL_IDENTITY_API_H_
6 #define EXTENSIONS_SHELL_BROWSER_API_SHELL_IDENTITY_SHELL_IDENTITY_API_H_
7
8 #include "base/macros.h"
9 #include "extensions/browser/extension_function.h"
10
11 namespace extensions {
12
13 // TODO(jamescook): Implement this function.
14 class ShellIdentityGetAuthTokenFunction : public UIThreadExtensionFunction {
15 public:
16 DECLARE_EXTENSION_FUNCTION("shell.identity.getAuthToken", UNKNOWN);
17
18 ShellIdentityGetAuthTokenFunction();
19
20 protected:
21 virtual ~ShellIdentityGetAuthTokenFunction();
22
23 // ExtensionFunction:
24 virtual ResponseAction Run() override;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ShellIdentityGetAuthTokenFunction);
28 };
29
30 } // namespace extensions
31
32 #endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_IDENTITY_SHELL_IDENTITY_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698