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

Issue 6283001: Remove TopSites::IsEnabled() as well as related dead code. (Closed)

Created:
9 years, 11 months ago by satorux1
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove TopSites::IsEnabled() as well as related dead code. TopSites has been enabed since r64072. It's now time to remove the dead code. BUG=69492 TEST=Make sure thumbnails are correctly updated as before. try bots. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71634

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Patch Set 3 : remove OnThumbnailDataAvailable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -709 lines) Patch
M chrome/browser/dom_ui/dom_ui_thumbnail_source.h View 1 2 3 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_thumbnail_source.cc View 1 2 3 chunks +7 lines, -37 lines 0 comments Download
M chrome/browser/dom_ui/most_visited_handler.h View 1 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/dom_ui/most_visited_handler.cc View 1 10 chunks +24 lines, -186 lines 0 comments Download
M chrome/browser/history/history.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 3 chunks +0 lines, -49 lines 0 comments Download
M chrome/browser/history/history_unittest.cc View 1 2 3 chunks +0 lines, -81 lines 0 comments Download
M chrome/browser/history/thumbnail_database.cc View 1 chunk +1 line, -12 lines 0 comments Download
M chrome/browser/history/thumbnail_database_unittest.cc View 1 2 chunks +0 lines, -292 lines 0 comments Download
M chrome/browser/history/top_sites.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/history/top_sites.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/history/top_sites_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 1 chunk +3 lines, -10 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/tools/profiles/generate_profile.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
satorux1
9 years, 11 months ago (2011-01-13 03:29:46 UTC) #1
sky
Couple of other things to clean up:There is also a switch (kEnableTopSites) that explicitly sets ...
9 years, 11 months ago (2011-01-13 16:55:52 UTC) #2
satorux1
Hi Scott, Thank you for the comments. I've addressed your comment. Re OnThumbnailDataAvailable, the function ...
9 years, 11 months ago (2011-01-14 07:36:46 UTC) #3
sky
9 years, 11 months ago (2011-01-14 16:28:05 UTC) #4
On Thu, Jan 13, 2011 at 11:36 PM,  <satorux@chromium.org> wrote:
> Hi Scott,
>
> Thank you for the comments. I've addressed your comment. Re
> OnThumbnailDataAvailable, the function didn't use HistoryService::Handle
> request_handle parameter at all, so I just needed to remove the parameter.

Actually, I think you can just remove that function now, as well as
cancelable_consumer_

LGTM once you do that change

  -Scott

> :)
>
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/history_...
> File chrome/browser/history/history_backend_unittest.cc (right):
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/history_...
> chrome/browser/history/history_backend_unittest.cc:21: #include
> "chrome/browser/history/top_sites.h"
> On 2011/01/13 16:55:52, sky wrote:
>>
>> You should be able to remove this now.
>
> Done.
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/history_...
> File chrome/browser/history/history_unittest.cc (right):
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/history_...
> chrome/browser/history/history_unittest.cc:48: #include
> "chrome/browser/history/top_sites.h"
> On 2011/01/13 16:55:52, sky wrote:
>>
>> Can this be removed now?
>
> Done.
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/thumbnai...
> File chrome/browser/history/thumbnail_database_unittest.cc (right):
>
>
http://codereview.chromium.org/6283001/diff/1/chrome/browser/history/thumbnai...
> chrome/browser/history/thumbnail_database_unittest.cc:17: #include
> "chrome/browser/history/top_sites.h"
> On 2011/01/13 16:55:52, sky wrote:
>>
>> Can this be removed?
>
> Done.
>
> http://codereview.chromium.org/6283001/
>

Powered by Google App Engine
This is Rietveld 408576698