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

Side by Side Diff: chrome/common/extensions/api/file_system_provider.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
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 [platforms=("chromeos"), 7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h"] 8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy stem_provider_api.h"]
9 namespace fileSystemProvider { 9 namespace fileSystemProvider {
10 // Error codes used by providing extensions in response to requests. For 10 // Error codes used by providing extensions in response to requests. For
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Raised when opening a file at <code>filePath</code> is requested. 137 // Raised when opening a file at <code>filePath</code> is requested.
138 // If <code>create</code> is set to <code>true</code> and the file does not 138 // If <code>create</code> is set to <code>true</code> and the file does not
139 // exist, then it should be created. 139 // exist, then it should be created.
140 [maxListeners=1] static void onOpenFileRequested( 140 [maxListeners=1] static void onOpenFileRequested(
141 long fileSystemId, 141 long fileSystemId,
142 DOMString filePath, 142 DOMString filePath,
143 OpenFileMode mode, 143 OpenFileMode mode,
144 boolean create, 144 boolean create,
145 ProviderSuccessCallback successCallback, 145 ProviderSuccessCallback successCallback,
146 ProviderErrorCallback errorCallback); 146 ProviderErrorCallback errorCallback);
147
148 // Raised when opening a file previously opened with <code>openRequestId
149 // </code> is requested to be closed.
150 [maxListeners=1] static void onCloseFileRequested(
151 long fileSystemId,
152 long openRequestId,
153 ProviderSuccessCallback successCallback,
154 ProviderErrorCallback errorCallback);
147 }; 155 };
148 }; 156 };
149 157
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/file_system_provider_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698