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

Side by Side Diff: media/mojo/services/media_service_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/mojo/services/media_service.cc ('k') | media/mojo/services/mojo_renderer_service.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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "media/base/cdm_config.h" 15 #include "media/base/cdm_config.h"
15 #include "media/base/mock_filters.h" 16 #include "media/base/mock_filters.h"
16 #include "media/base/test_helpers.h" 17 #include "media/base/test_helpers.h"
17 #include "media/mojo/clients/mojo_demuxer_stream_impl.h" 18 #include "media/mojo/clients/mojo_demuxer_stream_impl.h"
18 #include "media/mojo/common/media_type_converters.h" 19 #include "media/mojo/common/media_type_converters.h"
19 #include "media/mojo/interfaces/content_decryption_module.mojom.h" 20 #include "media/mojo/interfaces/content_decryption_module.mojom.h"
20 #include "media/mojo/interfaces/decryptor.mojom.h" 21 #include "media/mojo/interfaces/decryptor.mojom.h"
21 #include "media/mojo/interfaces/interface_factory.mojom.h" 22 #include "media/mojo/interfaces/interface_factory.mojom.h"
22 #include "media/mojo/interfaces/media_service.mojom.h" 23 #include "media/mojo/interfaces/media_service.mojom.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // close the connection. 213 // close the connection.
213 EXPECT_CALL(*this, ConnectionClosed()) 214 EXPECT_CALL(*this, ConnectionClosed())
214 .Times(Exactly(1)) 215 .Times(Exactly(1))
215 .WillOnce(Invoke(run_loop_.get(), &base::RunLoop::Quit)); 216 .WillOnce(Invoke(run_loop_.get(), &base::RunLoop::Quit));
216 interface_factory_.reset(); 217 interface_factory_.reset();
217 218
218 run_loop_->Run(); 219 run_loop_->Run();
219 } 220 }
220 221
221 } // namespace media 222 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/media_service.cc ('k') | media/mojo/services/mojo_renderer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698