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

Side by Side Diff: media/remoting/remote_renderer_impl_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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
« no previous file with comments | « media/remoting/remote_renderer_impl.cc ('k') | media/remoting/remoting_cdm_factory.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "media/remoting/remote_renderer_impl.h" 5 #include "media/remoting/remote_renderer_impl.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "base/run_loop.h" 8 #include "base/run_loop.h"
8 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
9 #include "media/base/pipeline_status.h" 10 #include "media/base/pipeline_status.h"
10 #include "media/base/test_helpers.h" 11 #include "media/base/test_helpers.h"
11 #include "media/remoting/fake_remoting_controller.h" 12 #include "media/remoting/fake_remoting_controller.h"
12 #include "media/remoting/fake_remoting_demuxer_stream_provider.h" 13 #include "media/remoting/fake_remoting_demuxer_stream_provider.h"
13 #include "media/remoting/remoting_renderer_controller.h" 14 #include "media/remoting/remoting_renderer_controller.h"
14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 // Issues RPC_RC_ONDURATIONCHANGE RPC message. 553 // Issues RPC_RC_ONDURATIONCHANGE RPC message.
553 EXPECT_CALL(*render_client_, OnDurationChange(_)).Times(0); 554 EXPECT_CALL(*render_client_, OnDurationChange(_)).Times(0);
554 std::unique_ptr<remoting::pb::RpcMessage> rpc(new remoting::pb::RpcMessage()); 555 std::unique_ptr<remoting::pb::RpcMessage> rpc(new remoting::pb::RpcMessage());
555 rpc->set_handle(5); 556 rpc->set_handle(5);
556 rpc->set_proc(remoting::pb::RpcMessage::RPC_RC_ONDURATIONCHANGE); 557 rpc->set_proc(remoting::pb::RpcMessage::RPC_RC_ONDURATIONCHANGE);
557 rpc->set_integer64_value(-345); 558 rpc->set_integer64_value(-345);
558 OnReceivedRpc(std::move(rpc)); 559 OnReceivedRpc(std::move(rpc));
559 RunPendingTasks(); 560 RunPendingTasks();
560 } 561 }
561 } // namespace media 562 } // namespace media
OLDNEW
« no previous file with comments | « media/remoting/remote_renderer_impl.cc ('k') | media/remoting/remoting_cdm_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698