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

Side by Side Diff: content/renderer/p2p/socket_client_impl.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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/renderer/p2p/ipc_network_manager.cc ('k') | content/renderer/pepper/message_channel.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/renderer/p2p/socket_client_impl.h" 5 #include "content/renderer/p2p/socket_client_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "content/common/p2p_messages.h" 12 #include "content/common/p2p_messages.h"
13 #include "content/renderer/p2p/socket_client_delegate.h" 13 #include "content/renderer/p2p/socket_client_delegate.h"
14 #include "content/renderer/p2p/socket_dispatcher.h" 14 #include "content/renderer/p2p/socket_dispatcher.h"
15 #include "content/renderer/render_thread_impl.h" 15 #include "content/renderer/render_thread_impl.h"
16 #include "crypto/random.h" 16 #include "crypto/random.h"
17 17
18 namespace { 18 namespace {
19 19
20 uint64_t GetUniqueId(uint32_t random_socket_id, uint32_t packet_id) { 20 uint64_t GetUniqueId(uint32_t random_socket_id, uint32_t packet_id) {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 delegate_->OnDataReceived(address, data, timestamp); 245 delegate_->OnDataReceived(address, data, timestamp);
246 } 246 }
247 247
248 void P2PSocketClientImpl::Detach() { 248 void P2PSocketClientImpl::Detach() {
249 DCHECK(ipc_task_runner_->BelongsToCurrentThread()); 249 DCHECK(ipc_task_runner_->BelongsToCurrentThread());
250 dispatcher_ = NULL; 250 dispatcher_ = NULL;
251 OnError(); 251 OnError();
252 } 252 }
253 253
254 } // namespace content 254 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_network_manager.cc ('k') | content/renderer/pepper/message_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698