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

Unified Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 1312213010: PageLoadMetrics renderer and browser implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Relax DCHECK constraints slightly for tests Created 5 years, 3 months 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/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index 33e51ddab278cf281b89fe998d32159acc2210b0..861adb01933d60277a21e85be6d660bb4845a3f6 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -62,6 +62,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
const GURL& GetURL() const override;
net::Error GetNetErrorCode() const override;
bool IsInMainFrame() const override;
+ bool IsSamePage() override;
bool HasCommittedDocument() const override;
bool HasCommittedErrorPage() const override;
@@ -84,7 +85,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// Called when the navigation was committed. This will update the |state_|
// and inform the delegate,
- void DidCommitNavigation();
+ void DidCommitNavigation(bool same_page);
private:
// Used to track the state the navigation is currently in.
@@ -103,6 +104,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
net::Error net_error_code_;
State state_;
const bool is_main_frame_;
+ bool is_same_page_;
// Whether the navigation is in the middle of a transfer. Set to false when
// the DidStartProvisionalLoad is received from the new renderer.

Powered by Google App Engine
This is Rietveld 408576698