| 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_PROFILE_USER_INFO_FU
NCTION_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO_FU
NCTION_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 IdentityGetProfileUserInfoFunction |
| 14 : public ChromeUIThreadExtensionFunction { |
| 15 public: |
| 16 DECLARE_EXTENSION_FUNCTION("identity.getProfileUserInfo", |
| 17 IDENTITY_GETPROFILEUSERINFO); |
| 18 |
| 19 IdentityGetProfileUserInfoFunction(); |
| 20 |
| 21 private: |
| 22 ~IdentityGetProfileUserInfoFunction() override; |
| 23 |
| 24 // UIThreadExtensionFunction implementation. |
| 25 ExtensionFunction::ResponseAction Run() override; |
| 26 }; |
| 27 |
| 28 } // namespace extensions |
| 29 |
| 30 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO
_FUNCTION_H_ |
| OLD | NEW |