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

Unified Diff: android_webview/native/aw_contents_client_bridge.h

Issue 2425423004: Move NewDownload out of AwContentsIoThreadClientImpl to AwContentsClientBridge (Closed)
Patch Set: changed "even if" to "unless" Created 4 years, 2 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: android_webview/native/aw_contents_client_bridge.h
diff --git a/android_webview/native/aw_contents_client_bridge.h b/android_webview/native/aw_contents_client_bridge.h
index 406138d01d17a1e208800b82e4d0c8936a8ceda2..6303be20fc05fc31ce3fa5a85f95b66d5a4a4554 100644
--- a/android_webview/native/aw_contents_client_bridge.h
+++ b/android_webview/native/aw_contents_client_bridge.h
@@ -61,6 +61,12 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase {
bool is_redirect,
bool is_main_frame) override;
+ void NewDownload(const GURL& url,
+ const std::string& user_agent,
+ const std::string& content_disposition,
+ const std::string& mime_type,
+ int64_t content_length) override;
+
// Methods called from Java.
void ProceedSslError(JNIEnv* env,
const base::android::JavaRef<jobject>& obj,

Powered by Google App Engine
This is Rietveld 408576698