| Index: third_party/chrome/idl/experimental_system_info_memory.idl
|
| diff --git a/third_party/chrome/idl/experimental_system_info_memory.idl b/third_party/chrome/idl/experimental_system_info_memory.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09f226f23807c5248a69a1f541a25b9896aebdf5
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/experimental_system_info_memory.idl
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// File-level comment to appease parser. Eventually this will not be necessary.
|
| +namespace experimental.systemInfo.memory {
|
| +
|
| + dictionary MemoryInfo {
|
| + // The total amount of physical memory capacity, in bytes.
|
| + double capacity;
|
| + // The amount of available capacity, in bytes.
|
| + double availableCapacity;
|
| + };
|
| +
|
| + callback MemoryInfoCallback = void (MemoryInfo info);
|
| +
|
| + interface Functions {
|
| + // Get physical memory information.
|
| + static void get(MemoryInfoCallback callback);
|
| + };
|
| +};
|
|
|