| 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> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1179 sources_.erase(it); | 1179 sources_.erase(it); |
| 1180 return; | 1180 return; |
| 1181 } | 1181 } |
| 1182 } | 1182 } |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 bool UserMediaClientImpl::UserMediaRequestInfo::HasPendingSources() const { | 1185 bool UserMediaClientImpl::UserMediaRequestInfo::HasPendingSources() const { |
| 1186 return !sources_waiting_for_callback_.empty(); | 1186 return !sources_waiting_for_callback_.empty(); |
| 1187 } | 1187 } |
| 1188 | 1188 |
| 1189 void UserMediaClientImpl::OnDestruct() { |
| 1190 delete this; |
| 1191 } |
| 1192 |
| 1189 } // namespace content | 1193 } // namespace content |
| OLD | NEW |