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

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

Issue 279213002: [fsp] Add support for closing files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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
« no previous file with comments | « chrome/common/extensions/api/file_system_provider.idl ('k') | 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 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 static void openFileRequestedSuccess( 54 static void openFileRequestedSuccess(
55 long fileSystemId, 55 long fileSystemId,
56 long requestId); 56 long requestId);
57 57
58 // Internal. Error callback of the <code>onOpenFileRequested</code> event. 58 // Internal. Error callback of the <code>onOpenFileRequested</code> event.
59 // Must be called when opening fails. 59 // Must be called when opening fails.
60 static void openFileRequestedError( 60 static void openFileRequestedError(
61 long fileSystemId, 61 long fileSystemId,
62 long requestId, 62 long requestId,
63 fileSystemProvider.ProviderError error); 63 fileSystemProvider.ProviderError error);
64
65 // Internal. Success callback of the <code>onCloseFileRequested</code>
66 // event. Must be called, when closing succeeds.
67 static void closeFileRequestedSuccess(
68 long fileSystemId,
69 long requestId);
70
71 // Internal. Error callback of the <code>onCloseFileRequested</code> event.
72 // Must be called when closing fails.
73 static void closeFileRequestedError(
74 long fileSystemId,
75 long requestId,
76 fileSystemProvider.ProviderError error);
64 }; 77 };
65 }; 78 };
66 79
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/file_system_provider.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698