| Index: chrome/browser/history/history.cc
|
| ===================================================================
|
| --- chrome/browser/history/history.cc (revision 19705)
|
| +++ chrome/browser/history/history.cc (working copy)
|
| @@ -253,8 +253,10 @@
|
| int32 page_id,
|
| const GURL& referrer,
|
| PageTransition::Type transition,
|
| - const RedirectList& redirects) {
|
| - AddPage(url, Time::Now(), id_scope, page_id, referrer, transition, redirects);
|
| + const RedirectList& redirects,
|
| + bool did_replace_entry) {
|
| + AddPage(url, Time::Now(), id_scope, page_id, referrer, transition, redirects,
|
| + did_replace_entry);
|
| }
|
|
|
| void HistoryService::AddPage(const GURL& url,
|
| @@ -263,7 +265,8 @@
|
| int32 page_id,
|
| const GURL& referrer,
|
| PageTransition::Type transition,
|
| - const RedirectList& redirects) {
|
| + const RedirectList& redirects,
|
| + bool did_replace_entry) {
|
| DCHECK(history_backend_) << "History service being called after cleanup";
|
|
|
| // Filter out unwanted URLs. We don't add auto-subframe URLs. They are a
|
| @@ -292,7 +295,8 @@
|
|
|
| scoped_refptr<history::HistoryAddPageArgs> request(
|
| new history::HistoryAddPageArgs(url, time, id_scope, page_id,
|
| - referrer, redirects, transition));
|
| + referrer, redirects, transition,
|
| + did_replace_entry));
|
| ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::AddPage, request);
|
| }
|
|
|
|
|