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

Unified Diff: chrome/common/extensions/docs/examples/api/downloads/download_links/popup.js

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 6 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/docs/examples/api/downloads/download_links/popup.js
diff --git a/chrome/common/extensions/docs/examples/api/downloads/download_links/popup.js b/chrome/common/extensions/docs/examples/api/downloads/download_links/popup.js
index 4edcfc3f3d2fb0af318d8a4921ebce930f55af7d..c8892453f7afe74f4f7b6c3f9c5d295e8904b092 100644
--- a/chrome/common/extensions/docs/examples/api/downloads/download_links/popup.js
+++ b/chrome/common/extensions/docs/examples/api/downloads/download_links/popup.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This extension demonstrates using chrome.experimental.downloads.download() to
+// This extension demonstrates using chrome.downloads.download() to
// download URLs.
var allLinks = [];
@@ -46,7 +46,7 @@ function toggleAll() {
function downloadCheckedLinks() {
for (var i = 0; i < visibleLinks.length; ++i) {
if (document.getElementById('check' + i).checked) {
- chrome.experimental.downloads.download({url: visibleLinks[i]},
+ chrome.downloads.download({url: visibleLinks[i]},
function(id) {
});
}

Powered by Google App Engine
This is Rietveld 408576698