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

Unified Diff: content/public/browser/web_contents.h

Issue 2014803002: Move DownloadControllerAndroid from content/ to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved download delegate interface to native Created 4 years, 7 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/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 90b647efcbf43132033298205d9ce8a0837945d8..19cdd19b08b9bba061c74cb8a9bb1b125d70d4f7 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -31,6 +31,7 @@
#if defined(OS_ANDROID)
#include "base/android/scoped_java_ref.h"
+#include "content/public/browser/android/download_delegate.h"
#endif
namespace base {
@@ -737,6 +738,10 @@ class WebContents : public PageNavigator,
// TODO(paulmeyer): This process will change slightly once multi-process
// find-in-page is implemented. This comment should be updated at that time.
virtual void RequestFindMatchRects(int current_version) = 0;
+
+ virtual void SetDownloadDelegate(DownloadDelegate* delegate) = 0;
+ virtual DownloadDelegate* GetDownloadDelegate() = 0;
+
#elif defined(OS_MACOSX)
// Allowing other views disables optimizations which assume that only a single
// WebContents is present.

Powered by Google App Engine
This is Rietveld 408576698