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

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

Issue 304533003: [fsp] Rename has_next to has_more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Internal, used by fileSystemProvider's custom bindings. These functions are 5 // Internal, used by fileSystemProvider's custom bindings. These functions are
6 // called when events' callbacks are invoked. 6 // called when events' callbacks are invoked.
7 [platforms=("chromeos"), 7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h", nodoc] 8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h", nodoc]
9 namespace fileSystemProviderInternal { 9 namespace fileSystemProviderInternal {
10 interface Functions { 10 interface Functions {
(...skipping 22 matching lines...) Expand all
33 DOMString fileSystemId, 33 DOMString fileSystemId,
34 long requestId, 34 long requestId,
35 fileSystemProvider.ProviderError error); 35 fileSystemProvider.ProviderError error);
36 36
37 // Internal. Success callback of the <code>onReadDirectoryRequested</code> 37 // Internal. Success callback of the <code>onReadDirectoryRequested</code>
38 // event. Can be called multiple times per request. 38 // event. Can be called multiple times per request.
39 static void readDirectoryRequestedSuccess( 39 static void readDirectoryRequestedSuccess(
40 DOMString fileSystemId, 40 DOMString fileSystemId,
41 long requestId, 41 long requestId,
42 fileSystemProvider.EntryMetadata[] entries, 42 fileSystemProvider.EntryMetadata[] entries,
43 boolean hasNext); 43 boolean hasMore);
44 44
45 // Internal. Error callback of the <code>onReadDirectoryRequested</code> 45 // Internal. Error callback of the <code>onReadDirectoryRequested</code>
46 // event. Must be called when reading a directory fails. 46 // event. Must be called when reading a directory fails.
47 static void readDirectoryRequestedError( 47 static void readDirectoryRequestedError(
48 DOMString fileSystemId, 48 DOMString fileSystemId,
49 long requestId, 49 long requestId,
50 fileSystemProvider.ProviderError error); 50 fileSystemProvider.ProviderError error);
51 51
52 // Internal. Success callback of the <code>onOpenFileRequested</code> event. 52 // Internal. Success callback of the <code>onOpenFileRequested</code> event.
53 // Must be called, when opening succeeds. 53 // Must be called, when opening succeeds.
(...skipping 20 matching lines...) Expand all
74 DOMString fileSystemId, 74 DOMString fileSystemId,
75 long requestId, 75 long requestId,
76 fileSystemProvider.ProviderError error); 76 fileSystemProvider.ProviderError error);
77 77
78 // Internal. Success callback of the <code>onReadFileRequested</code> 78 // Internal. Success callback of the <code>onReadFileRequested</code>
79 // event. Can be called multiple times per request. 79 // event. Can be called multiple times per request.
80 static void readFileRequestedSuccess( 80 static void readFileRequestedSuccess(
81 DOMString fileSystemId, 81 DOMString fileSystemId,
82 long requestId, 82 long requestId,
83 ArrayBuffer data, 83 ArrayBuffer data,
84 boolean hasNext); 84 boolean hasMore);
85 85
86 // Internal. Error callback of the <code>onReadFileRequested</code> 86 // Internal. Error callback of the <code>onReadFileRequested</code>
87 // event. Must be called when reading a file fails. 87 // event. Must be called when reading a file fails.
88 static void readFileRequestedError( 88 static void readFileRequestedError(
89 DOMString fileSystemId, 89 DOMString fileSystemId,
90 long requestId, 90 long requestId,
91 fileSystemProvider.ProviderError error); 91 fileSystemProvider.ProviderError error);
92 }; 92 };
93 }; 93 };
94 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698