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

Unified Diff: third_party/WebKit/public/platform/WebRTCStats.h

Issue 2813023002: [Bindings] Make maplike<> and setlike<> imply a readonly size attribute. (Closed)
Patch Set: merge with 23752147e6f5f7dcaf4bad1bb1c306fb91e1ec5b Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIOutputMap.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCStats.h
diff --git a/third_party/WebKit/public/platform/WebRTCStats.h b/third_party/WebKit/public/platform/WebRTCStats.h
index 40aa5c4e1e1894134770a12c9dd32094f53815c2..e7e67b4370b8a369f2023afbc9f3e3db8f93de48 100644
--- a/third_party/WebKit/public/platform/WebRTCStats.h
+++ b/third_party/WebKit/public/platform/WebRTCStats.h
@@ -48,6 +48,8 @@ class BLINK_PLATFORM_EXPORT WebRTCStatsReport {
virtual std::unique_ptr<WebRTCStats> GetStats(WebString id) const = 0;
// The next stats object, or null if the end has been reached.
virtual std::unique_ptr<WebRTCStats> Next() = 0;
+ // The number of stats objects.
+ virtual size_t Size() const = 0;
};
class BLINK_PLATFORM_EXPORT WebRTCStats {
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIOutputMap.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698