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

Side by Side Diff: content/browser/frame_host/navigator_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.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 18 matching lines...) Expand all
29 // This class is an implementation of Navigator, responsible for managing 29 // This class is an implementation of Navigator, responsible for managing
30 // navigations in regular browser tabs. 30 // navigations in regular browser tabs.
31 class CONTENT_EXPORT NavigatorImpl : public Navigator { 31 class CONTENT_EXPORT NavigatorImpl : public Navigator {
32 public: 32 public:
33 NavigatorImpl(NavigationControllerImpl* navigation_controller, 33 NavigatorImpl(NavigationControllerImpl* navigation_controller,
34 NavigatorDelegate* delegate); 34 NavigatorDelegate* delegate);
35 35
36 // Navigator implementation. 36 // Navigator implementation.
37 NavigatorDelegate* GetDelegate() override; 37 NavigatorDelegate* GetDelegate() override;
38 NavigationController* GetController() override; 38 NavigationController* GetController() override;
39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 39 void DidStartProvisionalLoad(
40 const GURL& url) override; 40 RenderFrameHostImpl* render_frame_host,
41 const GURL& url,
42 const base::TimeTicks& navigation_start) override;
41 void DidFailProvisionalLoadWithError( 43 void DidFailProvisionalLoadWithError(
42 RenderFrameHostImpl* render_frame_host, 44 RenderFrameHostImpl* render_frame_host,
43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 45 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
44 override; 46 override;
45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 47 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
46 const GURL& url, 48 const GURL& url,
47 int error_code, 49 int error_code,
48 const base::string16& error_description, 50 const base::string16& error_description,
49 bool was_ignored_by_handler) override; 51 bool was_ignored_by_handler) override;
50 void DidNavigate( 52 void DidNavigate(
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 NavigatorDelegate* delegate_; 146 NavigatorDelegate* delegate_;
145 147
146 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 148 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
147 149
148 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 150 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
149 }; 151 };
150 152
151 } // namespace content 153 } // namespace content
152 154
153 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 155 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698