OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [permissions=downloads_internal, internal=true, nodoc=true] |
| 6 namespace downloadsInternal { |
| 7 interface Functions { |
| 8 // Secretly called by chrome.downloads.onDeterminingFilename.addListener. |
| 9 static void addFilenameDeterminer(DOMString subEventId); |
| 10 |
| 11 // Secretly called by chrome.downloads.onDeterminingFilename.removeListener. |
| 12 static void removeFilenameDeterminer(DOMString subEventId); |
| 13 |
| 14 // Secretly called when onDeterminingFilename handlers return. |
| 15 static void determineFilename(DOMString subEventId, |
| 16 long downloadId, |
| 17 optional DOMString filename, |
| 18 optional boolean overwrite); |
| 19 }; |
| 20 |
| 21 interface Events { |
| 22 }; |
| 23 }; |
OLD | NEW |