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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase 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. 5 // Use the <code>systemInfo.cpu</code> API to query CPU metadata.
6 namespace systemInfo.cpu { 6 namespace systemInfo.cpu {
7 7
8 dictionary CpuInfo { 8 dictionary CpuInfo {
9 // The number of logical processors. 9 // The number of logical processors.
10 long numOfProcessors; 10 long numOfProcessors;
11 // The architecture name of the processors. 11 // The architecture name of the processors.
12 DOMString archName; 12 DOMString archName;
13 // The model name of the processors. 13 // The model name of the processors.
14 DOMString modelName; 14 DOMString modelName;
15 }; 15 };
16 16
17 callback CpuInfoCallback = void (CpuInfo info); 17 callback CpuInfoCallback = void (CpuInfo info);
18 18
19 interface Functions { 19 interface Functions {
20 // Queries basic CPU information of the system. 20 // Queries basic CPU information of the system.
21 static void get(CpuInfoCallback callback); 21 static void get(CpuInfoCallback callback);
22 }; 22 };
23 }; 23 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/sync_file_system.idl ('k') | chrome/common/extensions/api/system_info_display.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698