OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/renderer_host/media/media_stream_device_settings.h" | 5 #include "content/browser/renderer_host/media/media_stream_device_settings.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "base/task.h" | |
9 #include "content/browser/renderer_host/media/media_stream_settings_requester.h" | 8 #include "content/browser/renderer_host/media/media_stream_settings_requester.h" |
10 #include "content/common/media/media_stream_options.h" | 9 #include "content/common/media/media_stream_options.h" |
11 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
12 | 11 |
13 using content::BrowserThread; | 12 using content::BrowserThread; |
14 | 13 |
15 namespace media_stream { | 14 namespace media_stream { |
16 | 15 |
17 typedef std::map<MediaStreamType, StreamDeviceInfoArray> DeviceMap; | 16 typedef std::map<MediaStreamType, StreamDeviceInfoArray> DeviceMap; |
18 | 17 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 } | 140 } |
142 } | 141 } |
143 } | 142 } |
144 | 143 |
145 void MediaStreamDeviceSettings::UseFakeUI() { | 144 void MediaStreamDeviceSettings::UseFakeUI() { |
146 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 145 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
147 use_fake_ui_ = true; | 146 use_fake_ui_ = true; |
148 } | 147 } |
149 | 148 |
150 } // namespace media_stream | 149 } // namespace media_stream |
OLD | NEW |