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 |