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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.cc

Issue 235923003: <webview>: Move download permission to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_media_to_chrome
Patch Set: Updated Created 6 years, 8 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: content/public/browser/browser_plugin_guest_delegate.cc
diff --git a/content/public/browser/browser_plugin_guest_delegate.cc b/content/public/browser/browser_plugin_guest_delegate.cc
index 156da414a97e9f5502895b9546aa627abb77dd02..e0a966b20cc5f7fac92c7249e3ec6a8ca626650d 100644
--- a/content/public/browser/browser_plugin_guest_delegate.cc
+++ b/content/public/browser/browser_plugin_guest_delegate.cc
@@ -48,4 +48,12 @@ void BrowserPluginGuestDelegate::RequestMediaAccessPermission(
scoped_ptr<MediaStreamUI>());
}
+void BrowserPluginGuestDelegate::CanDownload(
+ const std::string& request_method,
+ const GURL& url,
+ const base::Callback<void(bool)>& callback) {
+ callback.Run(true);
+}
+
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698