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

Unified Diff: chrome/common/extensions/api/file_system_provider_internal.idl

Issue 194693002: [fsp] Add requestUnmount() method together with the request manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some too strict thread checks. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/file_system_provider_internal.idl
diff --git a/chrome/common/extensions/api/file_system_provider_internal.idl b/chrome/common/extensions/api/file_system_provider_internal.idl
new file mode 100644
index 0000000000000000000000000000000000000000..4ada58f8239c38a6f6f9c262433a736b7013695a
--- /dev/null
+++ b/chrome/common/extensions/api/file_system_provider_internal.idl
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Internal, used by fileSystemProvider's custom bindings. These functions are
+// called when events' callbacks are invoked.
+[platforms=("chromeos"),
+ implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h", nodoc]
+namespace fileSystemProviderInternal {
+ interface Functions {
+ // Internal. Success callback of the <code>onUnmountRequested</code>
+ // event. Must be called when unmounting is completed.
+ static void unmountRequestedSuccess(long fileSystemId,
+ long requestId);
+
+ // Internal. Error callback of the <code>onUnmountRequested</code>
+ // event. Must be called if unmounting fails.
+ static void unmountRequestedError(
+ long fileSystemId,
+ long requestId,
+ // TODO(mtomasz): Use FileSystemProvider::ProviderError when namespaces
+ // are fully implemented in IDL.
+ DOMString error);
+ };
+};
+

Powered by Google App Engine
This is Rietveld 408576698