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

Issue 9565045: Ensure that CopyStateFromAndPrune doesn't exceed kMaxSessionHistoryEntries. (Closed)

Created:
8 years, 9 months ago by Charlie Reis
Modified:
8 years, 9 months ago
Reviewers:
cbentzel, brettw
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Ensure that CopyStateFromAndPrune doesn't exceed kMaxSessionHistoryEntries. BUG=93427 TEST=See bug, comment 112 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124729

Patch Set 1 : Initial CL. #

Total comments: 3

Patch Set 2 : Fix review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -6 lines) Patch
M content/browser/tab_contents/navigation_controller_impl.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/tab_contents/navigation_controller_impl.cc View 1 4 chunks +17 lines, -5 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_impl_unittest.cc View 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Charlie Reis
Currently, having more than 50 navigation entries and then committing an Instant page can put ...
8 years, 9 months ago (2012-03-02 02:37:12 UTC) #1
brettw
Looking at this briefly, it's not clear to me why this only prunes the first ...
8 years, 9 months ago (2012-03-02 05:38:12 UTC) #2
cbentzel
http://codereview.chromium.org/9565045/diff/3001/content/browser/tab_contents/navigation_controller_impl.cc File content/browser/tab_contents/navigation_controller_impl.cc (right): http://codereview.chromium.org/9565045/diff/3001/content/browser/tab_contents/navigation_controller_impl.cc#newcode1083 content/browser/tab_contents/navigation_controller_impl.cc:1083: if (GetEntryCount() > 0) You should DCHECK that GetEntryCount ...
8 years, 9 months ago (2012-03-02 16:47:36 UTC) #3
Charlie Reis
On 2012/03/02 05:38:12, brettw wrote: > Looking at this briefly, it's not clear to me ...
8 years, 9 months ago (2012-03-02 17:46:14 UTC) #4
Charlie Reis
https://chromiumcodereview.appspot.com/9565045/diff/3001/content/browser/tab_contents/navigation_controller_impl.cc File content/browser/tab_contents/navigation_controller_impl.cc (right): https://chromiumcodereview.appspot.com/9565045/diff/3001/content/browser/tab_contents/navigation_controller_impl.cc#newcode1083 content/browser/tab_contents/navigation_controller_impl.cc:1083: if (GetEntryCount() > 0) On 2012/03/02 16:47:36, cbentzel wrote: ...
8 years, 9 months ago (2012-03-02 17:48:23 UTC) #5
cbentzel
LGTM
8 years, 9 months ago (2012-03-02 17:53:32 UTC) #6
brettw
lgtm
8 years, 9 months ago (2012-03-02 18:05:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/9565045/8002
8 years, 9 months ago (2012-03-02 18:07:52 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 20:57:28 UTC) #9
Change committed as 124729

Powered by Google App Engine
This is Rietveld 408576698