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

Issue 14232007: InstantExtended: don't preload the local NTP. (Closed)

Created:
7 years, 8 months ago by samarth
Modified:
7 years, 8 months ago
Reviewers:
sreeram, Jered
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, dougw+watch_chromium.org, sreeram, gideonwald, dominich, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Visibility:
Public.

Description

InstantExtended: don't preload the local NTP. In local-only mode, don't bother preloading the Instant NTP. The speed savings of preloading a local page are minimal and this will help reduce the memory usage. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194982

Patch Set 1 #

Patch Set 2 : Update tests. Fix bug. #

Total comments: 6

Patch Set 3 : Better comments. #

Total comments: 1

Patch Set 4 : Address comment. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -22 lines) Patch
M chrome/browser/ui/search/instant_controller.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 2 4 chunks +27 lines, -12 lines 2 comments Download
M chrome/browser/ui/search/instant_extended_browsertest.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
samarth
Anecdotally, this seems to also the fix the "infinite reload" on ctrl-C issue. I'll add ...
7 years, 8 months ago (2013-04-17 16:37:44 UTC) #1
samarth
Updated tests and of course discovered a bug in the process :) PTAL. Thanks, Samarth
7 years, 8 months ago (2013-04-17 17:26:30 UTC) #2
samarth
sreeram -> jered to load balance (Sreeram: of course, feel free to kibitz if you ...
7 years, 8 months ago (2013-04-17 22:00:24 UTC) #3
Jered
Mostly looks good, just some nits. Do we have some other test which tests that ...
7 years, 8 months ago (2013-04-17 22:42:06 UTC) #4
samarth
On 2013/04/17 22:42:06, Jered wrote: > Do we have some other test which tests that ...
7 years, 8 months ago (2013-04-17 23:28:15 UTC) #5
Jered
lgtm Thanks that's much clearer. https://codereview.chromium.org/14232007/diff/4/chrome/browser/ui/search/instant_extended_browsertest.cc File chrome/browser/ui/search/instant_extended_browsertest.cc (right): https://codereview.chromium.org/14232007/diff/4/chrome/browser/ui/search/instant_extended_browsertest.cc#newcode1487 chrome/browser/ui/search/instant_extended_browsertest.cc:1487: ASSERT_EQ(NULL, instant()->ntp()); EXPECT_EQ
7 years, 8 months ago (2013-04-17 23:45:33 UTC) #6
sreeram
https://codereview.chromium.org/14232007/diff/9002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/14232007/diff/9002/chrome/browser/ui/search/instant_controller.cc#newcode1498 chrome/browser/ui/search/instant_controller.cc:1498: ResetNTP(false, false); You should add a similar sort of ...
7 years, 8 months ago (2013-04-18 00:00:34 UTC) #7
samarth
https://codereview.chromium.org/14232007/diff/9002/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/14232007/diff/9002/chrome/browser/ui/search/instant_controller.cc#newcode1498 chrome/browser/ui/search/instant_controller.cc:1498: ResetNTP(false, false); On 2013/04/18 00:00:34, sreeram wrote: > You ...
7 years, 8 months ago (2013-04-18 00:31:19 UTC) #8
sreeram
LGTM You're right about not needing to do the check in BlacklistAndResetNTP. This CL is ...
7 years, 8 months ago (2013-04-18 13:38:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/14232007/9002
7 years, 8 months ago (2013-04-18 15:43:52 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 19:21:44 UTC) #11
Message was sent while issue was closed.
Change committed as 194982

Powered by Google App Engine
This is Rietveld 408576698