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

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

Issue 22828010: Migrate from using deprecated api in webview in Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/share_dialog.js
diff --git a/chrome/browser/resources/file_manager/js/share_dialog.js b/chrome/browser/resources/file_manager/js/share_dialog.js
index a06a50e86cfaf6fb12799325f062516828403b54..42c000062e409f925eb0a92a06abd92ef30982a3 100644
--- a/chrome/browser/resources/file_manager/js/share_dialog.js
+++ b/chrome/browser/resources/file_manager/js/share_dialog.js
@@ -56,7 +56,7 @@ ShareDialog.WebViewAuthorizer.prototype.initialize = function(callback) {
var registerInjectionHooks = function() {
this.webView_.removeEventListener('loadstop', registerInjectionHooks);
- this.webView_.onBeforeSendHeaders.addListener(
+ this.webView_.request.onBeforeSendHeaders.addListener(
this.authorizeRequest_.bind(this),
{urls: [this.urlPattern_]},
['blocking', 'requestHeaders']);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698