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

Issue 2567043002: Cleanup: Remove unused SearchTabHelper::GetOpenUrls (Closed)

Created:
4 years ago by Marc Treib
Modified:
3 years, 11 months ago
Reviewers:
msw, sdefresne
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Remove unused SearchTabHelper::GetOpenUrls ...and all the code that was there to support it, including Browser::GetOpenUrls and chrome::GetOpenUrls, as well as TopSites::GetCanonicalURLString. While we're here, also clean up some other unused code from TopSites. BUG=627747 Committed: https://crrev.com/b4a9ec8b992f2f09f961efdcb4d554d2762a9c22 Cr-Commit-Position: refs/heads/master@{#440723}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : more #

Total comments: 11

Patch Set 4 : msw nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -242 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper_delegate.h View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper_delegate.cc View 1 chunk +1 line, -5 lines 0 comments Download
D chrome/browser/ui/tabs/tab_strip_model_utils.h View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/browser/ui/tabs/tab_strip_model_utils.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M components/history/core/browser/top_sites.h View 1 2 3 3 chunks +0 lines, -17 lines 0 comments Download
M components/history/core/browser/top_sites_database.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/history/core/browser/top_sites_impl.h View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M components/history/core/browser/top_sites_impl.cc View 1 2 3 5 chunks +87 lines, -127 lines 2 comments Download
M components/omnibox/browser/zero_suggest_provider_unittest.cc View 1 2 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 32 (21 generated)
Marc Treib
msw: Please look at c/b/ui/. sdefresne: Please look at components/history/. Thanks!
4 years ago (2016-12-13 10:14:27 UTC) #13
msw
lgtm with nits; thanks for the cleanup! https://codereview.chromium.org/2567043002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/2567043002/diff/40001/chrome/browser/ui/browser.cc#newcode59 chrome/browser/ui/browser.cc:59: #include "chrome/browser/history/top_sites_factory.h" ...
4 years ago (2016-12-13 22:31:53 UTC) #14
Marc Treib
All nits addressed, thanks! https://codereview.chromium.org/2567043002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/2567043002/diff/40001/chrome/browser/ui/browser.cc#newcode59 chrome/browser/ui/browser.cc:59: #include "chrome/browser/history/top_sites_factory.h" On 2016/12/13 22:31:52, ...
4 years ago (2016-12-14 11:12:22 UTC) #15
Marc Treib
Ping sdefresne: Please look at components/history/
4 years ago (2016-12-19 09:14:25 UTC) #20
sdefresne
On 2016/12/19 09:14:25, Marc Treib (OOO until Jan 12) wrote: > Ping sdefresne: Please look ...
4 years ago (2016-12-19 13:09:59 UTC) #21
Marc Treib
On 2016/12/19 13:09:59, sdefresne wrote: > On 2016/12/19 09:14:25, Marc Treib (OOO until Jan 12) ...
4 years ago (2016-12-19 13:12:51 UTC) #22
sdefresne
lgtm https://codereview.chromium.org/2567043002/diff/60001/components/history/core/browser/top_sites_impl.cc File components/history/core/browser/top_sites_impl.cc (right): https://codereview.chromium.org/2567043002/diff/60001/components/history/core/browser/top_sites_impl.cc#newcode334 components/history/core/browser/top_sites_impl.cc:334: bool TopSitesImpl::IsKnownURL(const GURL& url) { I assume you ...
4 years ago (2016-12-21 12:57:09 UTC) #23
Marc Treib
https://codereview.chromium.org/2567043002/diff/60001/components/history/core/browser/top_sites_impl.cc File components/history/core/browser/top_sites_impl.cc (right): https://codereview.chromium.org/2567043002/diff/60001/components/history/core/browser/top_sites_impl.cc#newcode334 components/history/core/browser/top_sites_impl.cc:334: bool TopSitesImpl::IsKnownURL(const GURL& url) { On 2016/12/21 12:57:09, sdefresne ...
3 years, 12 months ago (2016-12-26 19:56:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567043002/60001
3 years, 12 months ago (2016-12-26 19:57:59 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
3 years, 12 months ago (2016-12-26 21:17:16 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:45:17 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b4a9ec8b992f2f09f961efdcb4d554d2762a9c22
Cr-Commit-Position: refs/heads/master@{#440723}

Powered by Google App Engine
This is Rietveld 408576698