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

Side by Side Diff: chrome/browser/extensions/api/identity/identity_remove_cached_auth_token_function.h

Issue 2657223002: Move impl of identity.RemoveCachedAuthToken() extension API to its own file (Closed)
Patch Set: Doh Created 3 years, 10 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 2017 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 CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_REMOVE_CACHED_AUTH_TOKEN _FUNCTION_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_REMOVE_CACHED_AUTH_TOKEN _FUNCTION_H_
7
8 #include "chrome/browser/extensions/chrome_extension_function.h"
9 #include "extensions/browser/extension_function_histogram_value.h"
10
11 namespace extensions {
12
13 class IdentityRemoveCachedAuthTokenFunction : public UIThreadExtensionFunction {
14 public:
15 DECLARE_EXTENSION_FUNCTION("identity.removeCachedAuthToken",
16 EXPERIMENTAL_IDENTITY_REMOVECACHEDAUTHTOKEN)
17 IdentityRemoveCachedAuthTokenFunction();
18
19 protected:
20 ~IdentityRemoveCachedAuthTokenFunction() override;
21
22 // ExtensionFunction:
23 ResponseAction Run() override;
24 };
25
26 } // namespace extensions
27
28 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_REMOVE_CACHED_AUTH_TO KEN_FUNCTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698