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

Side by Side Diff: jingle/glue/pseudotcp_adapter.cc

Issue 18156002: Use a direct include of time headers in courgette/, crypto/, dbus/, device/, google_apis/, gpu/, ip… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/communicator/login.h » ('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) 2012 The Chromium Authors. All rights reserved. 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 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 "jingle/glue/pseudotcp_adapter.h" 5 #include "jingle/glue/pseudotcp_adapter.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/time.h" 9 #include "base/time/time.h"
10 #include "net/base/address_list.h" 10 #include "net/base/address_list.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
15 15
16 using cricket::PseudoTcp; 16 using cricket::PseudoTcp;
17 17
18 namespace { 18 namespace {
19 const int kReadBufferSize = 65536; // Maximum size of a packet. 19 const int kReadBufferSize = 65536; // Maximum size of a packet.
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 DCHECK(CalledOnValidThread()); 589 DCHECK(CalledOnValidThread());
590 core_->SetNoDelay(no_delay); 590 core_->SetNoDelay(no_delay);
591 } 591 }
592 592
593 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { 593 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) {
594 DCHECK(CalledOnValidThread()); 594 DCHECK(CalledOnValidThread());
595 core_->SetWriteWaitsForSend(write_waits_for_send); 595 core_->SetWriteWaitsForSend(write_waits_for_send);
596 } 596 }
597 597
598 } // namespace jingle_glue 598 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.h ('k') | jingle/notifier/communicator/login.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698