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

Unified Diff: content/renderer/media/mock_media_stream_dispatcher.h

Issue 10826174: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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
« no previous file with comments | « no previous file | content/renderer/media/mock_media_stream_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/mock_media_stream_dispatcher.h
diff --git a/content/renderer/media/mock_media_stream_dispatcher.h b/content/renderer/media/mock_media_stream_dispatcher.h
index 6f4137981e8bb7a0920538672dd04a954afc79ef..3deaf9761eb778662455cd1e354e2cf74b71eed9 100644
--- a/content/renderer/media/mock_media_stream_dispatcher.h
+++ b/content/renderer/media/mock_media_stream_dispatcher.h
@@ -18,20 +18,15 @@ class MockMediaStreamDispatcher : public MediaStreamDispatcher {
virtual void GenerateStream(
int request_id,
- const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler,
+ const base::WeakPtr<MediaStreamDispatcherEventHandler>&,
media_stream::StreamOptions components,
- const GURL& security_origin) OVERRIDE;
+ const GURL&) OVERRIDE;
virtual void StopStream(const std::string& label) OVERRIDE;
virtual bool IsStream(const std::string& label) OVERRIDE;
virtual int video_session_id(const std::string& label, int index) OVERRIDE;
virtual int audio_session_id(const std::string& label, int index) OVERRIDE;
int request_id() const { return request_id_; }
- MediaStreamDispatcherEventHandler* event_handler() const {
- return event_handler_;
- }
- const media_stream::StreamOptions& components() const { return components_; }
- const GURL& security_origin() const { return security_origin_; }
int stop_stream_counter() const { return stop_stream_counter_; }
const std::string& stream_label() const { return stream_label_;}
media_stream::StreamDeviceInfoArray audio_array() const {
@@ -44,8 +39,6 @@ class MockMediaStreamDispatcher : public MediaStreamDispatcher {
private:
int request_id_;
base::WeakPtr<MediaStreamDispatcherEventHandler> event_handler_;
- media_stream::StreamOptions components_;
- GURL security_origin_;
int stop_stream_counter_;
std::string stream_label_;
« no previous file with comments | « no previous file | content/renderer/media/mock_media_stream_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698