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

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: Merge with ToT 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 820b24363d25df2f716290eabe85006559605fbf..d51d12addbf2b6f504a268f14e85aa54b3cbe692 100644
--- a/content/public/browser/browser_plugin_guest_delegate.cc
+++ b/content/public/browser/browser_plugin_guest_delegate.cc
@@ -33,4 +33,11 @@ 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
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | content/public/common/browser_plugin_permission_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698