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

Unified Diff: content/public/browser/navigation_entry.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Comments Created 8 years, 1 month 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 63af6871b20e202b7d796960e9d298c9d86e2a35..dc9ffc704c36e8aa0760ed94fb9beeef96ff9091 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -7,13 +7,13 @@
#include <string>
-#include "base/memory/ref_counted_memory.h"
#include "base/string16.h"
#include "base/time.h"
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/page_type.h"
#include "content/public/common/referrer.h"
+#include "webkit/glue/resource_request_body.h"
class GURL;
@@ -146,8 +146,9 @@ class NavigationEntry {
// 2) is shallow copied with the static copy Create method above.
// 3) may be NULL so check before use.
virtual void SetBrowserInitiatedPostData(
- const base::RefCountedMemory* data) = 0;
- virtual const base::RefCountedMemory* GetBrowserInitiatedPostData() const = 0;
+ scoped_refptr<webkit_glue::ResourceRequestBody> data) = 0;
+ virtual const scoped_refptr<webkit_glue::ResourceRequestBody>
+ GetBrowserInitiatedPostData() const = 0;
// The favicon data and tracking information. See content::FaviconStatus.
virtual const FaviconStatus& GetFavicon() const = 0;

Powered by Google App Engine
This is Rietveld 408576698