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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.h

Issue 10068037: RefCounted types should not have public destructors, content/browser part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fixes Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/media_stream_dispatcher_host.h
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index 1ecd13d6d294c621c25106cb7c445ece3843ddb9..8d7423b22b7dc1a9fc4d1da5044f22a5c3e89ed7 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -31,7 +31,6 @@ class CONTENT_EXPORT MediaStreamDispatcherHost
MediaStreamDispatcherHost(content::ResourceContext* resource_context,
int render_process_id,
media::AudioManager* audio_manager);
- virtual ~MediaStreamDispatcherHost();
// MediaStreamRequester implementation.
virtual void StreamGenerated(
@@ -53,6 +52,9 @@ class CONTENT_EXPORT MediaStreamDispatcherHost
bool* message_was_ok) OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
+ protected:
+ virtual ~MediaStreamDispatcherHost();
+
private:
friend class MockMediaStreamDispatcherHost;

Powered by Google App Engine
This is Rietveld 408576698