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

Side by Side Diff: chrome/common/extensions/api/system_info_memory.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // File-level comment to appease parser. Eventually this will not be necessary.
6 namespace systemInfo.memory { 5 namespace systemInfo.memory {
7 6
8 dictionary MemoryInfo { 7 dictionary MemoryInfo {
9 // The total amount of physical memory capacity, in bytes. 8 // The total amount of physical memory capacity, in bytes.
10 double capacity; 9 double capacity;
11 // The amount of available capacity, in bytes. 10 // The amount of available capacity, in bytes.
12 double availableCapacity; 11 double availableCapacity;
13 }; 12 };
14 13
15 callback MemoryInfoCallback = void (MemoryInfo info); 14 callback MemoryInfoCallback = void (MemoryInfo info);
16 15
17 interface Functions { 16 interface Functions {
18 // Get physical memory information. 17 // Get physical memory information.
19 static void get(MemoryInfoCallback callback); 18 static void get(MemoryInfoCallback callback);
20 }; 19 };
21 }; 20 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/system_info_cpu.idl ('k') | chrome/common/extensions/api/tab_capture.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698