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

Side by Side Diff: media/remoting/remoting_renderer_controller_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/remoting_cdm_factory.cc ('k') | media/remoting/remoting_renderer_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/remoting_renderer_controller.h" 5 #include "media/remoting/remoting_renderer_controller.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "media/base/audio_decoder_config.h" 11 #include "media/base/audio_decoder_config.h"
11 #include "media/base/cdm_config.h" 12 #include "media/base/cdm_config.h"
12 #include "media/base/limits.h" 13 #include "media/base/limits.h"
13 #include "media/base/media_util.h" 14 #include "media/base/media_util.h"
14 #include "media/base/test_helpers.h" 15 #include "media/base/test_helpers.h"
15 #include "media/base/video_decoder_config.h" 16 #include "media/base/video_decoder_config.h"
16 #include "media/remoting/fake_remoting_controller.h" 17 #include "media/remoting/fake_remoting_controller.h"
17 #include "media/remoting/remoting_cdm.h" 18 #include "media/remoting/remoting_cdm.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 remoting_renderer_controller_->OnSetCdm(remoting_cdm_context.get()); 344 remoting_renderer_controller_->OnSetCdm(remoting_cdm_context.get());
344 RunUntilIdle(); 345 RunUntilIdle();
345 // Switch to using the remoting renderer, even when the remoting CDM session 346 // Switch to using the remoting renderer, even when the remoting CDM session
346 // was already terminated, to show the failure interstitial. 347 // was already terminated, to show the failure interstitial.
347 EXPECT_TRUE(is_rendering_remotely_); 348 EXPECT_TRUE(is_rendering_remotely_);
348 EXPECT_EQ(RemotingSessionState::SESSION_PERMANENTLY_STOPPED, 349 EXPECT_EQ(RemotingSessionState::SESSION_PERMANENTLY_STOPPED,
349 remoting_renderer_controller_->remoting_source()->state()); 350 remoting_renderer_controller_->remoting_source()->state());
350 } 351 }
351 352
352 } // namespace media 353 } // namespace media
OLDNEW
« no previous file with comments | « media/remoting/remoting_cdm_factory.cc ('k') | media/remoting/remoting_renderer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698