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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_tcp.h

Issue 2405273002: Remove MessageLoop::current() from socket_host_tcp.cc. (Closed)
Patch Set: Created 4 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 | « no previous file | content/browser/renderer_host/p2p/socket_host_tcp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <queue> 11 #include <queue>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/message_loop/message_loop.h"
18 #include "content/browser/renderer_host/p2p/socket_host.h" 17 #include "content/browser/renderer_host/p2p/socket_host.h"
19 #include "content/common/p2p_socket_type.h" 18 #include "content/common/p2p_socket_type.h"
20 #include "net/base/completion_callback.h" 19 #include "net/base/completion_callback.h"
21 #include "net/base/ip_endpoint.h" 20 #include "net/base/ip_endpoint.h"
22 21
23 namespace net { 22 namespace net {
24 class DrainableIOBuffer; 23 class DrainableIOBuffer;
25 class GrowableIOBuffer; 24 class GrowableIOBuffer;
26 class StreamSocket; 25 class StreamSocket;
27 class URLRequestContextGetter; 26 class URLRequestContextGetter;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 private: 143 private:
145 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); 144 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes);
146 145
147 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp); 146 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp);
148 }; 147 };
149 148
150 149
151 } // namespace content 150 } // namespace content
152 151
153 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ 152 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/p2p/socket_host_tcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698