| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // File-level comment to appease parser. Eventually this will not be necessary. |
| 6 namespace experimental.systemInfo.memory { |
| 7 |
| 8 dictionary MemoryInfo { |
| 9 // The total amount of physical memory capacity, in bytes. |
| 10 double capacity; |
| 11 // The amount of available capacity, in bytes. |
| 12 double availableCapacity; |
| 13 }; |
| 14 |
| 15 callback MemoryInfoCallback = void (MemoryInfo info); |
| 16 |
| 17 interface Functions { |
| 18 // Get physical memory information. |
| 19 static void get(MemoryInfoCallback callback); |
| 20 }; |
| 21 }; |
| OLD | NEW |