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

Side by Side Diff: remoting/protocol/capture_scheduler.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 5 years 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/capture_scheduler.h" 5 #include "remoting/protocol/capture_scheduler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/sys_info.h" 11 #include "base/sys_info.h"
11 #include "base/time/default_tick_clock.h" 12 #include "base/time/default_tick_clock.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "remoting/proto/video.pb.h" 14 #include "remoting/proto/video.pb.h"
14 15
15 namespace { 16 namespace {
16 17
17 // Number of samples to average the most recent capture and encode time 18 // Number of samples to average the most recent capture and encode time
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 DCHECK(!is_paused_); 175 DCHECK(!is_paused_);
175 DCHECK(!capture_pending_); 176 DCHECK(!capture_pending_);
176 177
177 capture_pending_ = true; 178 capture_pending_ = true;
178 last_capture_started_time_ = tick_clock_->NowTicks(); 179 last_capture_started_time_ = tick_clock_->NowTicks();
179 capture_closure_.Run(); 180 capture_closure_.Run();
180 } 181 }
181 182
182 } // namespace protocol 183 } // namespace protocol
183 } // namespace remoting 184 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/authenticator_test_base.cc ('k') | remoting/protocol/capture_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698