Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: content/common/socket_stream_handle_data.h

Issue 655253006: Remove old WebSocket implementation from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/socket_stream.h ('k') | content/common/socket_stream_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 CONTENT_RENDERER_SOCKET_STREAM_HANDLE_DATA_H_
6 #define CONTENT_RENDERER_SOCKET_STREAM_HANDLE_DATA_H_
7
8 #include "base/supports_user_data.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 // User data stored in each WebSocketStreamHandleImpl.
14 class SocketStreamHandleData : public base::SupportsUserData::Data {
15 public:
16 explicit SocketStreamHandleData(int render_frame_id)
17 : render_frame_id_(render_frame_id) {}
18 ~SocketStreamHandleData() override {}
19
20 int render_frame_id() const { return render_frame_id_; }
21
22 private:
23 int render_frame_id_;
24
25 DISALLOW_COPY_AND_ASSIGN(SocketStreamHandleData);
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_RENDERER_SOCKET_STREAM_HANDLE_DATA_H_
OLDNEW
« no previous file with comments | « content/common/socket_stream.h ('k') | content/common/socket_stream_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698