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

Side by Side Diff: remoting/protocol/pseudotcp_adapter.cc

Issue 1547603004: Include <utility> in files that use std::move() in remoting/protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/protocol/pseudotcp_adapter.h" 5 #include "remoting/protocol/pseudotcp_adapter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility>
10
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
14 #include "net/base/address_list.h" 16 #include "net/base/address_list.h"
15 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
16 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
17 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
18 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 core_->SetNoDelay(no_delay); 503 core_->SetNoDelay(no_delay);
502 } 504 }
503 505
504 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) { 506 void PseudoTcpAdapter::SetWriteWaitsForSend(bool write_waits_for_send) {
505 DCHECK(CalledOnValidThread()); 507 DCHECK(CalledOnValidThread());
506 core_->SetWriteWaitsForSend(write_waits_for_send); 508 core_->SetWriteWaitsForSend(write_waits_for_send);
507 } 509 }
508 510
509 } // namespace protocol 511 } // namespace protocol
510 } // namespace remoting 512 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.cc ('k') | remoting/protocol/pseudotcp_channel_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698