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

Unified Diff: chrome/browser/resources/file_manager/js/file_copy_manager.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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
« no previous file with comments | « chrome/browser/extensions/extension_bindings_apitest.cc ('k') | chrome/common/extensions/api/bluetooth.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_copy_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_copy_manager.js b/chrome/browser/resources/file_manager/js/file_copy_manager.js
index 74435a240836f83440d25e90491aaaef553c3866..a5fb156c7eb2db7b0f639b2b7ad66d6512a30ae5 100644
--- a/chrome/browser/resources/file_manager/js/file_copy_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_copy_manager.js
@@ -916,9 +916,9 @@ FileCopyManager.prototype.serviceNextTaskEntry_ = function(
function onFileTransferCompleted() {
self.cancelCallback_ = null;
- if (chrome.extension.lastError) {
+ if (chrome.runtime.lastError) {
onFailTransfer({
- code: chrome.extension.lastError.message,
+ code: chrome.runtime.lastError.message,
toGDrive: task.targetOnGData,
sourceFileUrl: sourceFileUrl
});
« no previous file with comments | « chrome/browser/extensions/extension_bindings_apitest.cc ('k') | chrome/common/extensions/api/bluetooth.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698