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 55477e2417c4d73e111d073af2114ef437db24e2..5cdc15f3a4a56095fe96b8496d3787c4eb5a22a2 100644 |
--- a/content/browser/web_contents/navigation_entry_impl.h |
+++ b/content/browser/web_contents/navigation_entry_impl.h |
@@ -6,7 +6,6 @@ |
#define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_ENTRY_IMPL_H_ |
#include "base/basictypes.h" |
-#include "base/memory/ref_counted.h" |
#include "content/browser/site_instance_impl.h" |
#include "content/public/browser/favicon_status.h" |
#include "content/public/browser/global_request_id.h" |
@@ -58,8 +57,8 @@ class CONTENT_EXPORT NavigationEntryImpl |
virtual void SetPostID(int64 post_id) OVERRIDE; |
virtual int64 GetPostID() const OVERRIDE; |
virtual void SetBrowserInitiatedPostData( |
- const base::RefCountedMemory* data) OVERRIDE; |
- virtual const base::RefCountedMemory* |
+ scoped_refptr<webkit_glue::ResourceRequestBody> data) OVERRIDE; |
+ virtual const scoped_refptr<webkit_glue::ResourceRequestBody> |
GetBrowserInitiatedPostData() const OVERRIDE; |
virtual const FaviconStatus& GetFavicon() const OVERRIDE; |
virtual FaviconStatus& GetFavicon() OVERRIDE; |
@@ -200,7 +199,7 @@ class CONTENT_EXPORT NavigationEntryImpl |
// If the post request succeeds, this field is cleared since the same |
// information is stored in |content_state_| above. It is also only shallow |
// copied with compiler provided copy constructor. |
- scoped_refptr<const base::RefCountedMemory> browser_initiated_post_data_; |
+ scoped_refptr<webkit_glue::ResourceRequestBody> browser_initiated_post_data_; |
Charlie Reis
2012/11/20 05:46:03
I have some concerns about using a ResourceRequest
|
// This member is not persisted with session restore. |
std::string extra_headers_; |