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

Unified Diff: content/browser/web_contents/navigation_entry_impl.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/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index c0aae0209fd30ef411edf23cfcee238d1e2e667c..973e50261b04f7a555af454f18a319d50b10edc8 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -65,6 +65,8 @@ class CONTENT_EXPORT NavigationEntryImpl
virtual const GURL& GetOriginalRequestURL() const OVERRIDE;
virtual void SetIsOverridingUserAgent(bool override) OVERRIDE;
virtual bool GetIsOverridingUserAgent() const OVERRIDE;
+ virtual void SetBrowserInitiatedPostData(const std::string& data) OVERRIDE;
+ virtual const std::string& GetBrowserInitiatedPostData() const OVERRIDE;
void set_unique_id(int unique_id) {
unique_id_ = unique_id;
@@ -184,6 +186,7 @@ class CONTENT_EXPORT NavigationEntryImpl
RestoreType restore_type_;
GURL original_request_url_;
bool is_overriding_user_agent_;
+ std::string browser_initiated_post_data_; // TODO(boliu): save in session
// This member is not persisted with sesssion restore.
std::string extra_headers_;

Powered by Google App Engine
This is Rietveld 408576698