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

Unified Diff: Source/core/timing/MemoryInfo.idl

Issue 1219673003: Sync core/timing/ interfaces with their specs, or lack thereof (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | « Source/core/timing/DOMHighResTimeStamp.idl ('k') | Source/core/timing/Performance.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/MemoryInfo.idl
diff --git a/Source/core/timing/MemoryInfo.idl b/Source/core/timing/MemoryInfo.idl
index 66119c5e132cfc146a25a83bfcabe5fd705bebe9..325406dd677b1c8f4cbb3d15bac57f697160a102 100644
--- a/Source/core/timing/MemoryInfo.idl
+++ b/Source/core/timing/MemoryInfo.idl
@@ -28,13 +28,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// TODO(philipj): There is no spec for the Memory Info API, see blink-dev:
+// https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71NmPwJ
+
[
GarbageCollected,
NoInterfaceObject
] interface MemoryInfo {
-
- readonly attribute unsigned long totalJSHeapSize;
- readonly attribute unsigned long usedJSHeapSize;
- readonly attribute unsigned long jsHeapSizeLimit;
-
+ [Measure] readonly attribute unsigned long totalJSHeapSize;
+ [Measure] readonly attribute unsigned long usedJSHeapSize;
+ [Measure] readonly attribute unsigned long jsHeapSizeLimit;
};
« no previous file with comments | « Source/core/timing/DOMHighResTimeStamp.idl ('k') | Source/core/timing/Performance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698