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

Side by Side Diff: content/browser/frame_host/navigation_request.h

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stop calling didCreateDataSource for same-page navs Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Creates a request for a browser-intiated navigation. 60 // Creates a request for a browser-intiated navigation.
61 static scoped_ptr<NavigationRequest> CreateBrowserInitiated( 61 static scoped_ptr<NavigationRequest> CreateBrowserInitiated(
62 FrameTreeNode* frame_tree_node, 62 FrameTreeNode* frame_tree_node,
63 const GURL& dest_url, 63 const GURL& dest_url,
64 const Referrer& dest_referrer, 64 const Referrer& dest_referrer,
65 const FrameNavigationEntry& frame_entry, 65 const FrameNavigationEntry& frame_entry,
66 const NavigationEntryImpl& entry, 66 const NavigationEntryImpl& entry,
67 FrameMsg_Navigate_Type::Value navigation_type, 67 FrameMsg_Navigate_Type::Value navigation_type,
68 bool is_same_document_history_load, 68 bool is_same_document_history_load,
69 base::TimeTicks navigation_start, 69 const base::TimeTicks& navigation_start,
70 NavigationControllerImpl* controller); 70 NavigationControllerImpl* controller);
71 71
72 // Creates a request for a renderer-intiated navigation. 72 // Creates a request for a renderer-intiated navigation.
73 // Note: |body| is sent to the IO thread when calling BeginNavigation, and 73 // Note: |body| is sent to the IO thread when calling BeginNavigation, and
74 // should no longer be manipulated afterwards on the UI thread. 74 // should no longer be manipulated afterwards on the UI thread.
75 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid 75 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid
76 // threading subtleties. 76 // threading subtleties.
77 static scoped_ptr<NavigationRequest> CreateRendererInitiated( 77 static scoped_ptr<NavigationRequest> CreateRendererInitiated(
78 FrameTreeNode* frame_tree_node, 78 FrameTreeNode* frame_tree_node,
79 const CommonNavigationParams& common_params, 79 const CommonNavigationParams& common_params,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 int bindings_; 197 int bindings_;
198 198
199 scoped_ptr<NavigationHandleImpl> navigation_handle_; 199 scoped_ptr<NavigationHandleImpl> navigation_handle_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 201 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
202 }; 202 };
203 203
204 } // namespace content 204 } // namespace content
205 205
206 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 206 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698