OLD | NEW |
(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_GET_ACCOUNTS_FUNCTION_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_ACCOUNTS_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 IdentityGetAccountsFunction : public ChromeUIThreadExtensionFunction { |
| 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION("identity.getAccounts", |
| 16 IDENTITY_GETACCOUNTS); |
| 17 |
| 18 IdentityGetAccountsFunction(); |
| 19 |
| 20 private: |
| 21 ~IdentityGetAccountsFunction() override; |
| 22 |
| 23 // UIThreadExtensionFunction implementation. |
| 24 ExtensionFunction::ResponseAction Run() override; |
| 25 }; |
| 26 |
| 27 } // namespace extensions |
| 28 |
| 29 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_ACCOUNTS_FUNCTION
_H_ |
OLD | NEW |