| Index: chrome/browser/extensions/api/socket/socket_api.h
|
| diff --git a/chrome/browser/extensions/api/socket/socket_api.h b/chrome/browser/extensions/api/socket/socket_api.h
|
| index eda9a19f41ca1c1e2a91994acd2ca6e781c929e4..354c38391c7e4d5136e7c7eb11f884d281830863 100644
|
| --- a/chrome/browser/extensions/api/socket/socket_api.h
|
| +++ b/chrome/browser/extensions/api/socket/socket_api.h
|
| @@ -279,6 +279,23 @@ class SocketSetNoDelayFunction : public SocketAsyncApiFunction {
|
| scoped_ptr<api::experimental_socket::SetNoDelay::Params> params_;
|
| };
|
|
|
| +class SocketGetInfoFunction : public SocketAsyncApiFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.socket.getInfo");
|
| +
|
| + SocketGetInfoFunction();
|
| +
|
| + protected:
|
| + virtual ~SocketGetInfoFunction();
|
| +
|
| + // AsyncApiFunction:
|
| + virtual bool Prepare() OVERRIDE;
|
| + virtual void Work() OVERRIDE;
|
| +
|
| + private:
|
| + scoped_ptr<api::experimental_socket::GetInfo::Params> params_;
|
| +};
|
| +
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_
|
|
|