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..febc1eb45ad7cd7c24118ad2f692255ac99204d4 100644 |
--- a/content/public/browser/android/navigation_controller_webview.h |
+++ b/content/public/browser/android/navigation_controller_webview.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_ |
#define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_ |
+#include <vector> |
+ |
class GURL; |
namespace content { |
@@ -27,6 +29,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::vector<char>& http_body, |
+ bool is_overriding_user_agent) = 0; |
}; |
} // namespace content |