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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

Issue 10829044: Implement NavigationControllerWebView.PostURL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits. Use RefCountedBytes. 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.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index fe14d03174d47ea14a4c7df59b050e0190b977b2..9f208dd9f7544297f48618c5ada91069c0309a2b 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -212,6 +212,17 @@ int64 NavigationEntryImpl::GetPostID() const {
return post_id_;
}
+void NavigationEntryImpl::SetBrowserInitiatedPostData(
+ scoped_refptr<base::RefCountedBytes> data) {
+ browser_initiated_post_data_ = data;
+}
+
+const scoped_refptr<base::RefCountedBytes>
+ NavigationEntryImpl::GetBrowserInitiatedPostData() const {
+ return browser_initiated_post_data_;
+}
+
+
const FaviconStatus& NavigationEntryImpl::GetFavicon() const {
return favicon_;
}

Powered by Google App Engine
This is Rietveld 408576698