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

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

Issue 11574006: Implement chrome.downloads.onDeterminingFilename() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r185803 Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/downloads_internal.idl
diff --git a/chrome/common/extensions/api/downloads_internal.idl b/chrome/common/extensions/api/downloads_internal.idl
new file mode 100644
index 0000000000000000000000000000000000000000..449ae87a54ed30e61a6e1ab337f032c96073634d
--- /dev/null
+++ b/chrome/common/extensions/api/downloads_internal.idl
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 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.
+
+[permissions=downloads_internal, internal=true, nodoc=true]
+namespace downloadsInternal {
+ interface Functions {
+ // Secretly called when onDeterminingFilename handlers return.
+ static void determineFilename(long downloadId,
+ optional DOMString filename,
+ optional boolean overwrite);
+ };
+
+ interface Events {
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698