diff options
author | hta@chromium.org <hta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 12:59:32 +0000 |
---|---|---|
committer | hta@chromium.org <hta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 12:59:32 +0000 |
commit | c9b8134c3319df6c518386f153c4c8ccb0bc1af7 (patch) | |
tree | 6e00962927618772d9fee7a0889a7677ae69ba02 /content/renderer/media/rtc_peer_connection_handler.h | |
parent | decc7cda17b3454df8d7d70bc4e8985f65264bc7 (diff) | |
download | chromium_src-c9b8134c3319df6c518386f153c4c8ccb0bc1af7.zip chromium_src-c9b8134c3319df6c518386f153c4c8ccb0bc1af7.tar.gz chromium_src-c9b8134c3319df6c518386f153c4c8ccb0bc1af7.tar.bz2 |
Moved getstats to use newer WebKit API
BUG=
Review URL: https://chromiumcodereview.appspot.com/12770008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/rtc_peer_connection_handler.h')
-rw-r--r-- | content/renderer/media/rtc_peer_connection_handler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h index dbec0be..79f52bd 100644 --- a/content/renderer/media/rtc_peer_connection_handler.h +++ b/content/renderer/media/rtc_peer_connection_handler.h @@ -29,17 +29,17 @@ class CONTENT_EXPORT LocalRTCStatsResponse explicit LocalRTCStatsResponse(const WebKit::WebRTCStatsResponse& impl) : impl_(impl) { } - // Constructor for testing. - LocalRTCStatsResponse() {} virtual WebKit::WebRTCStatsResponse webKitStatsResponse() const; - virtual size_t addReport(); - virtual void addElement(size_t report, bool is_local, double timestamp); - virtual void addStatistic(size_t report, bool is_local, + virtual size_t addReport(WebKit::WebString type, WebKit::WebString id, + double timestamp); + virtual void addStatistic(size_t report, WebKit::WebString name, WebKit::WebString value); protected: virtual ~LocalRTCStatsResponse() {} + // Constructor for creating mocks. + LocalRTCStatsResponse() {} private: WebKit::WebRTCStatsResponse impl_; |