| Index: content/public/browser/page_navigator.h
 | 
| ===================================================================
 | 
| --- content/public/browser/page_navigator.h	(revision 215313)
 | 
| +++ content/public/browser/page_navigator.h	(working copy)
 | 
| @@ -11,6 +11,7 @@
 | 
|  
 | 
|  #include <string>
 | 
|  
 | 
| +#include "base/memory/ref_counted.h"
 | 
|  #include "content/common/content_export.h"
 | 
|  #include "content/public/browser/global_request_id.h"
 | 
|  #include "content/public/common/page_transition_types.h"
 | 
| @@ -18,6 +19,10 @@
 | 
|  #include "ui/base/window_open_disposition.h"
 | 
|  #include "url/gurl.h"
 | 
|  
 | 
| +namespace base {
 | 
| +class RefCountedMemory;
 | 
| +}  // namespace base
 | 
| +
 | 
|  namespace content {
 | 
|  
 | 
|  class WebContents;
 | 
| @@ -40,6 +45,15 @@
 | 
|    GURL url;
 | 
|    Referrer referrer;
 | 
|  
 | 
| +  // Indicates whether this navigation will be sent using POST.
 | 
| +  // The POST method is limited support for basic POST data by leveraging
 | 
| +  // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST.
 | 
| +  // It is not for things like file uploads.
 | 
| +  bool uses_post;
 | 
| +
 | 
| +  // The post data when the navigation uses POST.
 | 
| +  scoped_refptr<base::RefCountedMemory> browser_initiated_post_data;
 | 
| +
 | 
|    // Extra headers to add to the request for this page.  Headers are
 | 
|    // represented as "<name>: <value>" and separated by \r\n.  The entire string
 | 
|    // is terminated by \r\n.  May be empty if no extra headers are needed.
 | 
| @@ -87,6 +101,6 @@
 | 
|    virtual WebContents* OpenURL(const OpenURLParams& params) = 0;
 | 
|  };
 | 
|  
 | 
| -}
 | 
| +}  // namespace content
 | 
|  
 | 
|  #endif  // CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_
 | 
| 
 |