Move ResourceRequestBody to services/network in preparation of moving content/network.

TBR=nasko

Bug: 753658
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ib8622bcdd6566b3ab5bff02c31be5f54854fe967
Reviewed-on: https://chromium-review.googlesource.com/864422
Reviewed-by: Ken Rockot <[email protected]>
Cr-Commit-Position: refs/heads/master@{#528982}
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index 96cca8b0..2da714f 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -24,7 +24,6 @@
 
 class NavigationControllerImpl;
 class NavigatorDelegate;
-class ResourceRequestBody;
 struct LoadCommittedDetails;
 
 // This class is an implementation of Navigator, responsible for managing
@@ -68,7 +67,7 @@
       RenderFrameHostImpl* render_frame_host,
       const GURL& url,
       bool uses_post,
-      const scoped_refptr<ResourceRequestBody>& body,
+      const scoped_refptr<network::ResourceRequestBody>& body,
       const std::string& extra_headers,
       const Referrer& referrer,
       WindowOpenDisposition disposition,
@@ -85,7 +84,7 @@
                           const GlobalRequestID& transferred_global_request_id,
                           bool should_replace_current_entry,
                           const std::string& method,
-                          scoped_refptr<ResourceRequestBody> post_body,
+                          scoped_refptr<network::ResourceRequestBody> post_body,
                           const std::string& extra_headers) override;
   void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node,
                          bool proceed,
@@ -113,28 +112,30 @@
   // Navigates to the given entry, which might be the pending entry (if
   // |is_pending_entry| is true).  Private because all callers should use either
   // NavigateToPendingEntry or NavigateToNewChildFrame.
-  bool NavigateToEntry(FrameTreeNode* frame_tree_node,
-                       const FrameNavigationEntry& frame_entry,
-                       const NavigationEntryImpl& entry,
-                       ReloadType reload_type,
-                       bool is_same_document_history_load,
-                       bool is_history_navigation_in_new_child,
-                       bool is_pending_entry,
-                       const scoped_refptr<ResourceRequestBody>& post_body);
+  bool NavigateToEntry(
+      FrameTreeNode* frame_tree_node,
+      const FrameNavigationEntry& frame_entry,
+      const NavigationEntryImpl& entry,
+      ReloadType reload_type,
+      bool is_same_document_history_load,
+      bool is_history_navigation_in_new_child,
+      bool is_pending_entry,
+      const scoped_refptr<network::ResourceRequestBody>& post_body);
 
   // If needed, sends a BeforeUnload IPC to the renderer to ask it to execute
   // the beforeUnload event. Otherwise, the navigation request will be started.
-  void RequestNavigation(FrameTreeNode* frame_tree_node,
-                         const GURL& dest_url,
-                         const Referrer& dest_referrer,
-                         const FrameNavigationEntry& frame_entry,
-                         const NavigationEntryImpl& entry,
-                         ReloadType reload_type,
-                         PreviewsState previews_state,
-                         bool is_same_document_history_load,
-                         bool is_history_navigation_in_new_child,
-                         const scoped_refptr<ResourceRequestBody>& post_body,
-                         base::TimeTicks navigation_start);
+  void RequestNavigation(
+      FrameTreeNode* frame_tree_node,
+      const GURL& dest_url,
+      const Referrer& dest_referrer,
+      const FrameNavigationEntry& frame_entry,
+      const NavigationEntryImpl& entry,
+      ReloadType reload_type,
+      PreviewsState previews_state,
+      bool is_same_document_history_load,
+      bool is_history_navigation_in_new_child,
+      const scoped_refptr<network::ResourceRequestBody>& post_body,
+      base::TimeTicks navigation_start);
 
   void RecordNavigationMetrics(
       const LoadCommittedDetails& details,