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

Issue 2609363003: Remove ChromeBrowserProvider::GetFaviconForURL(). (Closed)

Created:
3 years, 11 months ago by sdefresne
Modified:
3 years, 11 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ChromeBrowserProvider::GetFaviconForURL(). The method can now be inlined at the call site as the implementation has been upstreamed. Removing the method and obsolete includes. Move the implementation of GetFaviconForNativeApplicationURL() from ChromeWebUIIOSControllerFactory to FaviconClientImpl to untangle a complex and deep circular dependencies causing linker failures when removing DownstreamChromiumBrowserProvider. BUG=676278 Review-Url: https://codereview.chromium.org/2609363003 Cr-Commit-Position: refs/heads/master@{#442208} Committed: https://chromium.googlesource.com/chromium/src/+/a7f6a8a960a2078be95065df1c713f0c16887763

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase on https://codereview.chromium.org/2615433002. #

Patch Set 3 : Refactor to remove circular dependency. #

Total comments: 2

Patch Set 4 : Remove incorrect include and obsolete deps. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -206 lines) Patch
M ios/chrome/browser/downstream_chromium_browser_provider.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ios/chrome/browser/downstream_chromium_browser_provider.mm View 1 chunk +0 lines, -10 lines 0 comments Download
M ios/chrome/browser/favicon/BUILD.gn View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/favicon/favicon_client_impl.h View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M ios/chrome/browser/favicon/favicon_client_impl.mm View 1 2 3 chunks +68 lines, -18 lines 0 comments Download
M ios/chrome/browser/favicon/favicon_service_factory.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/webui/BUILD.gn View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.h View 1 2 3 chunks +0 lines, -26 lines 0 comments Download
M ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm View 1 2 3 4 chunks +0 lines, -83 lines 0 comments Download
M ios/chrome/browser/ui/webui/crashes_ui.h View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/webui/crashes_ui.cc View 1 2 3 chunks +0 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/webui/flags_ui.h View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/webui/flags_ui.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/webui/signin_internals_ui_ios.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.h View 2 chunks +0 lines, -9 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.mm View 1 chunk +0 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (32 generated)
sdefresne
Please take a look.
3 years, 11 months ago (2017-01-04 10:17:48 UTC) #3
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2609363003/diff/1/ios/chrome/browser/favicon/BUILD.gn File ios/chrome/browser/favicon/BUILD.gn (right): https://codereview.chromium.org/2609363003/diff/1/ios/chrome/browser/favicon/BUILD.gn#newcode27 ios/chrome/browser/favicon/BUILD.gn:27: deps = [ Should this depend on //ios/chrome/browser/ui/webui?
3 years, 11 months ago (2017-01-04 12:36:06 UTC) #7
sdefresne
On 2017/01/04 12:36:06, rohitrao wrote: > lgtm > > https://codereview.chromium.org/2609363003/diff/1/ios/chrome/browser/favicon/BUILD.gn > File ios/chrome/browser/favicon/BUILD.gn (right): > ...
3 years, 11 months ago (2017-01-04 14:05:43 UTC) #10
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/2609363003/20001
3 years, 11 months ago (2017-01-04 14:59:51 UTC) #14
sdefresne
Please take another look as I did a large refactoring with patchset #2 to remove ...
3 years, 11 months ago (2017-01-05 10:45:32 UTC) #17
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2609363003/diff/120001/ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm File ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm (right): https://codereview.chromium.org/2609363003/diff/120001/ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm#newcode11 ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm:11: #include "ios/chrome/browser/favicon/favicon_client_impl.h" What is this needed for?
3 years, 11 months ago (2017-01-05 18:31:44 UTC) #28
sdefresne
Thank you for the review. https://codereview.chromium.org/2609363003/diff/120001/ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm File ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm (right): https://codereview.chromium.org/2609363003/diff/120001/ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm#newcode11 ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.mm:11: #include "ios/chrome/browser/favicon/favicon_client_impl.h" On 2017/01/05 ...
3 years, 11 months ago (2017-01-05 20:23:53 UTC) #29
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/2609363003/140001
3 years, 11 months ago (2017-01-06 10:13:43 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/343453)
3 years, 11 months ago (2017-01-06 11:31:17 UTC) #34
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/2609363003/140001
3 years, 11 months ago (2017-01-06 13:12:29 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/343499)
3 years, 11 months ago (2017-01-06 15:10:36 UTC) #38
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/2609363003/140001
3 years, 11 months ago (2017-01-06 15:11:58 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/343576)
3 years, 11 months ago (2017-01-06 17:00:08 UTC) #42
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/2609363003/140001
3 years, 11 months ago (2017-01-09 07:46:00 UTC) #44
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 08:32:50 UTC) #47
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/a7f6a8a960a2078be95065df1c71...

Powered by Google App Engine
This is Rietveld 408576698