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

Side by Side Diff: components/html_viewer/web_media_player_factory.cc

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/html_viewer/web_media_player_factory.h" 5 #include "components/html_viewer/web_media_player_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "media/audio/audio_manager.h" 11 #include "media/audio/audio_manager.h"
12 #include "media/audio/audio_manager_base.h" 12 #include "media/audio/audio_manager_base.h"
13 #include "media/audio/audio_output_stream_sink.h" 13 #include "media/audio/audio_output_stream_sink.h"
14 #include "media/base/audio_hardware_config.h" 14 #include "media/base/audio_hardware_config.h"
15 #include "media/base/media.h" 15 #include "media/base/media.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 scoped_refptr<base::SingleThreadTaskRunner> 129 scoped_refptr<base::SingleThreadTaskRunner>
130 WebMediaPlayerFactory::GetMediaThreadTaskRunner() { 130 WebMediaPlayerFactory::GetMediaThreadTaskRunner() {
131 if (!media_thread_.IsRunning()) 131 if (!media_thread_.IsRunning())
132 media_thread_.Start(); 132 media_thread_.Start();
133 133
134 return media_thread_.message_loop_proxy(); 134 return media_thread_.message_loop_proxy();
135 } 135 }
136 136
137 } // namespace html_viewer 137 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/web_media_player_factory.h ('k') | components/html_viewer/web_message_port_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698