| Index: content/browser/websockets/websocket_handshake_request_info_impl.h
|
| diff --git a/content/browser/websockets/websocket_handshake_request_info_impl.h b/content/browser/websockets/websocket_handshake_request_info_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d2b8e4134d9d55797da906b395b4007ffcda4fb
|
| --- /dev/null
|
| +++ b/content/browser/websockets/websocket_handshake_request_info_impl.h
|
| @@ -0,0 +1,38 @@
|
| +// Copyright 2016 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 CONTENT_BROWSER_WEBSOCKET_WEBSOCKET_HANDSHAKE_REQUEST_INFO_IMPL_H_
|
| +#define CONTENT_BROWSER_WEBSOCKET_WEBSOCKET_HANDSHAKE_REQUEST_INFO_IMPL_H_
|
| +
|
| +#include "content/public/browser/websocket_handshake_request_info.h"
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/supports_user_data.h"
|
| +
|
| +namespace content {
|
| +
|
| +class WebSocketHandshakeRequestInfoImpl final
|
| + : public WebSocketHandshakeRequestInfo,
|
| + public base::SupportsUserData::Data {
|
| + public:
|
| + static void CreateInfoAndAssociateWithRequest(int child_id,
|
| + int frame_id,
|
| + net::URLRequest* request);
|
| +
|
| + int GetChildId() const override;
|
| + int GetFrameId() const override;
|
| +
|
| + private:
|
| + WebSocketHandshakeRequestInfoImpl(int child_id, int frame_id);
|
| + ~WebSocketHandshakeRequestInfoImpl() override;
|
| +
|
| + const int child_id_;
|
| + const int frame_id_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeRequestInfoImpl);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_WEBSOCKET_WEBSOCKET_HANDSHAKE_REQUEST_INFO_IMPL_H_
|
|
|