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

Unified Diff: content/public/browser/navigation_entry.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/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index ddbc1d0214c7d99d395c8006eb09f85088588ac0..568985f849774a637ec0cd5e46318c7208943fbc 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -149,6 +149,11 @@ class NavigationEntry {
// Store whether or not we're overriding the user agent.
virtual void SetIsOverridingUserAgent(bool override) = 0;
virtual bool GetIsOverridingUserAgent() const = 0;
+
+ // Holds the raw post data of a browser initiated post request.
+ // It should be cleared when ContentState above is set for efficiency.
+ virtual void SetBrowserInitiatedPostData(const std::string& data) = 0;
joth 2012/07/26 20:41:40 Would it make sense to have this method automatica
boliu 2012/07/27 22:47:41 I don't think it should call SetHasPostData(true)
joth 2012/07/27 23:12:38 Makes sense.
+ virtual const std::string& GetBrowserInitiatedPostData() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698