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

Side by Side Diff: remoting/protocol/message_reader.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 (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 "remoting/protocol/message_reader.h" 5 #include "remoting/protocol/message_reader.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "base/location.h" 12 #include "base/location.h"
11 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
12 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
13 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
14 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
15 #include "remoting/base/compound_buffer.h" 17 #include "remoting/base/compound_buffer.h"
16 #include "remoting/proto/internal.pb.h" 18 #include "remoting/proto/internal.pb.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 DCHECK(CalledOnValidThread()); 137 DCHECK(CalledOnValidThread());
136 pending_messages_--; 138 pending_messages_--;
137 DCHECK_GE(pending_messages_, 0); 139 DCHECK_GE(pending_messages_, 0);
138 140
139 // Start next read if necessary. 141 // Start next read if necessary.
140 DoRead(); 142 DoRead();
141 } 143 }
142 144
143 } // namespace protocol 145 } // namespace protocol
144 } // namespace remoting 146 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/me2me_host_authenticator_factory.cc ('k') | remoting/protocol/monitored_video_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698