OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/media/user_media_client_impl.h" | 5 #include "content/renderer/media/user_media_client_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/hash.h" | 11 #include "base/hash.h" |
10 #include "base/location.h" | 12 #include "base/location.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
15 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
16 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 return; | 1163 return; |
1162 } | 1164 } |
1163 } | 1165 } |
1164 } | 1166 } |
1165 | 1167 |
1166 bool UserMediaClientImpl::UserMediaRequestInfo::HasPendingSources() const { | 1168 bool UserMediaClientImpl::UserMediaRequestInfo::HasPendingSources() const { |
1167 return !sources_waiting_for_callback_.empty(); | 1169 return !sources_waiting_for_callback_.empty(); |
1168 } | 1170 } |
1169 | 1171 |
1170 } // namespace content | 1172 } // namespace content |
OLD | NEW |