| Index: chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
|
| diff --git a/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h b/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d3b434705d3c499888efb75a8a70af0318bdae3
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO_FUNCTION_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO_FUNCTION_H_
|
| +
|
| +#include "chrome/browser/extensions/chrome_extension_function.h"
|
| +#include "extensions/browser/extension_function_histogram_value.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class IdentityGetProfileUserInfoFunction
|
| + : public ChromeUIThreadExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("identity.getProfileUserInfo",
|
| + IDENTITY_GETPROFILEUSERINFO);
|
| +
|
| + IdentityGetProfileUserInfoFunction();
|
| +
|
| + private:
|
| + ~IdentityGetProfileUserInfoFunction() override;
|
| +
|
| + // UIThreadExtensionFunction implementation.
|
| + ExtensionFunction::ResponseAction Run() override;
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO_FUNCTION_H_
|
|
|