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

Unified Diff: content/public/browser/android/navigation_controller_webview.h

Issue 10829044: Implement NavigationControllerWebView.PostURL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/android/navigation_controller_webview.h
diff --git a/content/public/browser/android/navigation_controller_webview.h b/content/public/browser/android/navigation_controller_webview.h
index 79c784dcd7a2947faeeae7f104374eccae27aba9..b7737ed778608bb2fa7b301bbd2d6bd445618b02 100644
--- a/content/public/browser/android/navigation_controller_webview.h
+++ b/content/public/browser/android/navigation_controller_webview.h
@@ -27,6 +27,12 @@ class NavigationControllerWebView {
const GURL& base_url,
const GURL& history_url,
bool is_overriding_user_agent) = 0;
+
+ // Used to directly send a http post request with a raw http body provided.
+ virtual void PostURL(const GURL& url,
+ const content::Referrer& referrer,
+ const std::string& http_body,
+ bool is_overriding_user_agent) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698