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

Side by Side Diff: content/browser/renderer_host/media/audio_output_authorization_handler_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
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 // Unit tests for AudioOutputAuthorizationHandler. 5 // Unit tests for AudioOutputAuthorizationHandler.
6 6
7 #include "content/browser/renderer_host/media/audio_output_authorization_handler .h" 7 #include "content/browser/renderer_host/media/audio_output_authorization_handler .h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "content/browser/audio_manager_thread.h" 13 #include "content/browser/audio_manager_thread.h"
13 #include "content/browser/browser_thread_impl.h" 14 #include "content/browser/browser_thread_impl.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/test/mock_render_process_host.h" 16 #include "content/public/test/mock_render_process_host.h"
16 #include "content/public/test/test_browser_context.h" 17 #include "content/public/test/test_browser_context.h"
17 #include "content/public/test/test_browser_thread_bundle.h" 18 #include "content/public/test/test_browser_thread_bundle.h"
18 #include "media/audio/audio_device_description.h" 19 #include "media/audio/audio_device_description.h"
19 #include "media/audio/fake_audio_log_factory.h" 20 #include "media/audio/fake_audio_log_factory.h"
20 #include "media/audio/fake_audio_manager.h" 21 #include "media/audio/fake_audio_manager.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 (base::Bind(&AudioOutputAuthorizationHandler::RequestDeviceAuthorization, 341 (base::Bind(&AudioOutputAuthorizationHandler::RequestDeviceAuthorization,
341 base::Unretained(handler.get()), kRenderFrameId, kSessionId, 342 base::Unretained(handler.get()), kRenderFrameId, kSessionId,
342 std::string(), BadSecurityOrigin(), listener.GetCallback()))); 343 std::string(), BadSecurityOrigin(), listener.GetCallback())));
343 344
344 SyncWithAllThreads(); 345 SyncWithAllThreads();
345 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, handler.release()); 346 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, handler.release());
346 SyncWithAllThreads(); 347 SyncWithAllThreads();
347 } 348 }
348 349
349 } // namespace content 350 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698