| Index: content/public/browser/navigation_handle.h
|
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
|
| index ca8997f77cb86939a520434fb171d912a348633e..5e4f560772df5205331b2d3b94edb7862f0e8f07 100644
|
| --- a/content/public/browser/navigation_handle.h
|
| +++ b/content/public/browser/navigation_handle.h
|
| @@ -177,6 +177,14 @@ class CONTENT_EXPORT NavigationHandle {
|
| // GetNetErrorCode will be net::OK.
|
| virtual bool IsErrorPage() = 0;
|
|
|
| + // True if the committed entry has replaced the existing one. A non-user
|
| + // initiated redirect causes such replacement.
|
| + virtual bool DidReplaceEntry() = 0;
|
| +
|
| + // Returns true if the browser history should be updated. Otherwise only
|
| + // the session history will be updated. E.g., on unreachable urls.
|
| + virtual bool ShouldUpdateHistory() = 0;
|
| +
|
| // The previous main frame URL that the user was on. This may be empty if
|
| // there was no last committed entry.
|
| virtual const GURL& GetPreviousURL() = 0;
|
|
|