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

Side by Side Diff: extensions/common/api/system_storage.idl

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inlined simple getters and removed redundant namespace decl Created 6 years, 3 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 // Use the <code>chrome.system.storage</code> API to query storage device 5 // Use the <code>chrome.system.storage</code> API to query storage device
6 // information and be notified when a removable storage device is attached and 6 // information and be notified when a removable storage device is attached and
7 // detached. 7 // detached.
8 namespace system.storage { 8 namespace system.storage {
9 9
10 enum StorageUnitType { 10 enum StorageUnitType {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 interface Events { 75 interface Events {
76 // Fired when a new removable storage is attached to the system. 76 // Fired when a new removable storage is attached to the system.
77 static void onAttached(StorageUnitInfo info); 77 static void onAttached(StorageUnitInfo info);
78 78
79 // Fired when a removable storage is detached from the system. 79 // Fired when a removable storage is detached from the system.
80 static void onDetached(DOMString id); 80 static void onDetached(DOMString id);
81 }; 81 };
82 82
83 }; 83 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698