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

Side by Side Diff: content/renderer/media/user_media_client_impl.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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 (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
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
OLDNEW
« no previous file with comments | « content/renderer/media/user_media_client_impl.h ('k') | content/renderer/mojo_bindings_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698