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

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

Issue 881903002: [fsp] Add an information that root entry name should be an empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.fileSystemProvider</code> API to create file systems, 5 // Use the <code>chrome.fileSystemProvider</code> API to create file systems,
6 // that can be accessible from the file manager on Chrome OS. 6 // that can be accessible from the file manager on Chrome OS.
7 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h"] 7 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h"]
8 namespace fileSystemProvider { 8 namespace fileSystemProvider {
9 // Error codes used by providing extensions in response to requests as well 9 // Error codes used by providing extensions in response to requests as well
10 // as in case of errors when calling methods of the API. For success, <code> 10 // as in case of errors when calling methods of the API. For success, <code>
(...skipping 28 matching lines...) Expand all
39 enum ChangeType { 39 enum ChangeType {
40 CHANGED, 40 CHANGED,
41 DELETED 41 DELETED
42 }; 42 };
43 43
44 // Represents metadata of a file or a directory. 44 // Represents metadata of a file or a directory.
45 dictionary EntryMetadata { 45 dictionary EntryMetadata {
46 // True if it is a directory. 46 // True if it is a directory.
47 boolean isDirectory; 47 boolean isDirectory;
48 48
49 // Name of this entry (not full path name). Must not contain '/'. 49 // Name of this entry (not full path name). Must not contain '/'. For root
50 // is must be empty.
benwells 2015/01/27 21:07:54 s/is/it/
mtomasz 2015/01/27 21:42:54 Done.
50 DOMString name; 51 DOMString name;
51 52
52 // File size in bytes. 53 // File size in bytes.
53 double size; 54 double size;
54 55
55 // The last modified time of this entry. 56 // The last modified time of this entry.
56 [instanceOf=Date] object modificationTime; 57 [instanceOf=Date] object modificationTime;
57 58
58 // Mime type for the entry. 59 // Mime type for the entry.
59 DOMString? mimeType; 60 DOMString? mimeType;
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 631
631 // Raised when the watcher should be removed. If an error occurs, then 632 // Raised when the watcher should be removed. If an error occurs, then
632 // <code>errorCallback</code> must be called. 633 // <code>errorCallback</code> must be called.
633 [maxListeners=1, nodoc] static void onRemoveWatcherRequested( 634 [maxListeners=1, nodoc] static void onRemoveWatcherRequested(
634 RemoveWatcherRequestedOptions options, 635 RemoveWatcherRequestedOptions options,
635 ProviderSuccessCallback successCallback, 636 ProviderSuccessCallback successCallback,
636 ProviderErrorCallback errorCallback); 637 ProviderErrorCallback errorCallback);
637 }; 638 };
638 }; 639 };
639 640
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698