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

Issue 14660022: Move most visited item state info from InstantController to InstantService. (Closed)

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

Description

Move most visited item state info from InstantController to InstantService. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203821

Patch Set 1 : '' #

Total comments: 12

Patch Set 2 : Rebase + Addressed comments #

Total comments: 3

Patch Set 3 : Rebase #

Patch Set 4 : Fix #if define macro. #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Total comments: 6

Patch Set 7 : Rebase #

Patch Set 8 : Addressed comments #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -186 lines) Patch
M chrome/browser/search/instant_service.h View 1 2 3 4 5 6 7 4 chunks +27 lines, -5 lines 0 comments Download
M chrome/browser/search/instant_service.cc View 1 2 3 4 5 6 7 8 5 chunks +93 lines, -8 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.h View 1 2 3 4 8 chunks +7 lines, -35 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 2 3 4 5 6 7 8 chunks +42 lines, -118 lines 0 comments Download
M chrome/browser/ui/search/instant_page.h View 1 2 3 4 4 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/ui/search/instant_page.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/search/instant_page_unittest.cc View 1 2 chunks +31 lines, -4 lines 0 comments Download
M chrome/common/instant_restricted_id_cache.h View 1 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/common/instant_restricted_id_cache_unittest.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
kmadhusu
Please review. Thanks.
7 years, 7 months ago (2013-05-13 23:42:41 UTC) #1
samarth
Hey, I think this one is probably better off reviewed by Sreeram since he knows ...
7 years, 7 months ago (2013-05-15 19:22:27 UTC) #2
kmadhusu
On 2013/05/15 19:22:27, samarth wrote: > Hey, > > I think this one is probably ...
7 years, 7 months ago (2013-05-20 16:49:17 UTC) #3
samarth
samarth -> jered
7 years, 7 months ago (2013-05-21 16:21:45 UTC) #4
Jered
Generally looks good, just nits. https://codereview.chromium.org/14660022/diff/19001/chrome/browser/search/instant_service.cc File chrome/browser/search/instant_service.cc (right): https://codereview.chromium.org/14660022/diff/19001/chrome/browser/search/instant_service.cc#newcode165 chrome/browser/search/instant_service.cc:165: const GURL& most_visited_item_url) { ...
7 years, 7 months ago (2013-05-21 20:18:21 UTC) #5
kmadhusu
Addressed comments. PTAL. Thanks. https://codereview.chromium.org/14660022/diff/19001/chrome/browser/search/instant_service.cc File chrome/browser/search/instant_service.cc (right): https://codereview.chromium.org/14660022/diff/19001/chrome/browser/search/instant_service.cc#newcode165 chrome/browser/search/instant_service.cc:165: const GURL& most_visited_item_url) { On ...
7 years, 7 months ago (2013-05-23 18:26:21 UTC) #6
Jered
https://codereview.chromium.org/14660022/diff/67001/chrome/common/instant_restricted_id_cache.h File chrome/common/instant_restricted_id_cache.h (right): https://codereview.chromium.org/14660022/diff/67001/chrome/common/instant_restricted_id_cache.h#newcode134 chrome/common/instant_restricted_id_cache.h:134: // cache_.Put() can invalidate the iterator |last_add_start_| is pointing ...
7 years, 7 months ago (2013-05-24 15:58:21 UTC) #7
Jered
lgtm https://codereview.chromium.org/14660022/diff/67001/chrome/common/instant_restricted_id_cache.h File chrome/common/instant_restricted_id_cache.h (right): https://codereview.chromium.org/14660022/diff/67001/chrome/common/instant_restricted_id_cache.h#newcode134 chrome/common/instant_restricted_id_cache.h:134: // cache_.Put() can invalidate the iterator |last_add_start_| is ...
7 years, 7 months ago (2013-05-24 19:23:02 UTC) #8
kmadhusu
sreeram@: Please do the OWNER's check for chrome/browser/search/* changes. brettw@: Please do the OWNER's check ...
7 years, 7 months ago (2013-05-24 20:12:23 UTC) #9
kmadhusu
palmer@: Please do the OWNER's check for chrome/common/* changes. Thanks.
7 years, 6 months ago (2013-05-28 16:57:59 UTC) #10
kmadhusu
Jered@: Modified InstantService::OnMostVisitedItemsReceived() to fix the android bot compile error. PTAL. Thanks.
7 years, 6 months ago (2013-05-29 20:55:20 UTC) #11
palmer
LGTM
7 years, 6 months ago (2013-05-29 21:06:05 UTC) #12
Jered
slgtm On 2013/05/29 21:06:05, Chromium Palmer wrote: > LGTM
7 years, 6 months ago (2013-05-29 21:39:38 UTC) #13
kmadhusu
On 2013/05/29 21:39:38, Jered wrote: > slgtm > > On 2013/05/29 21:06:05, Chromium Palmer wrote: ...
7 years, 6 months ago (2013-05-29 22:48:24 UTC) #14
sreeram
LGTM https://codereview.chromium.org/14660022/diff/133001/chrome/browser/search/instant_service.cc File chrome/browser/search/instant_service.cc (right): https://codereview.chromium.org/14660022/diff/133001/chrome/browser/search/instant_service.cc#newcode52 chrome/browser/search/instant_service.cc:52: if (top_sites) { Nit: This works for now, ...
7 years, 6 months ago (2013-06-03 20:40:42 UTC) #15
kmadhusu
sreeram: Addressed comments. Can I add you as an OWNER to review chrome/common/instant_restricted_id_cache.h && .cc ...
7 years, 6 months ago (2013-06-03 21:40:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/14660022/101003
7 years, 6 months ago (2013-06-03 22:12:47 UTC) #17
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) ash_unittests, aura_unittests, browser_tests, compositor_unittests, content_browsertests, content_unittests, ...
7 years, 6 months ago (2013-06-03 22:44:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/14660022/101003
7 years, 6 months ago (2013-06-04 00:02:42 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 03:19:53 UTC) #20
Message was sent while issue was closed.
Change committed as 203821

Powered by Google App Engine
This is Rietveld 408576698