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

Side by Side Diff: remoting/protocol/capture_scheduler_unittest.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
« no previous file with comments | « remoting/protocol/capture_scheduler.cc ('k') | remoting/protocol/channel_dispatcher_base.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 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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility>
10
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
11 #include "base/test/simple_test_tick_clock.h" 13 #include "base/test/simple_test_tick_clock.h"
12 #include "base/timer/mock_timer.h" 14 #include "base/timer/mock_timer.h"
13 #include "remoting/proto/video.pb.h" 15 #include "remoting/proto/video.pb.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 17
16 namespace remoting { 18 namespace remoting {
17 namespace protocol { 19 namespace protocol {
18 20
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 193
192 // Next frame should be scheduled, once one of the queued frames is 194 // Next frame should be scheduled, once one of the queued frames is
193 // acknowledged. 195 // acknowledged.
194 EXPECT_FALSE(capture_timer_->IsRunning()); 196 EXPECT_FALSE(capture_timer_->IsRunning());
195 scheduler_->ProcessVideoAck(make_scoped_ptr(new VideoAck())); 197 scheduler_->ProcessVideoAck(make_scoped_ptr(new VideoAck()));
196 EXPECT_TRUE(capture_timer_->IsRunning()); 198 EXPECT_TRUE(capture_timer_->IsRunning());
197 } 199 }
198 200
199 } // namespace protocol 201 } // namespace protocol
200 } // namespace remoting 202 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/capture_scheduler.cc ('k') | remoting/protocol/channel_dispatcher_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698