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

Issue 2933743002: Move chrome/browser/manifest to content/browser. (Closed)

Created:
3 years, 6 months ago by zino
Modified:
3 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-manifest_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move chrome/browser/manifest to content/browser. This change is related to PaymentHandler API[1]. We added support for payment instrument icons feature[2]. It is very similar to the icons field in WebAppManifest. So, moving the manifest icon downloader and selector from chrome to content, we can remove duplicated codes. Fortunately, the related files use only content/public APIs and have no dependency with chrome layer. So, they can be moved easily. [1] https://w3c.github.io/payment-handler/ [2] https://codereview.chromium.org/2925063003/ BUG=720029 Review-Url: https://codereview.chromium.org/2933743002 Cr-Commit-Position: refs/heads/master@{#479424} Committed: https://chromium.googlesource.com/chromium/src/+/84cadc8bbdf0d82af266f43c00d43424d0e48fa7

Patch Set 1 #

Patch Set 2 : Move chrome/browser/manifest to content/browser. #

Total comments: 30

Patch Set 3 : Move chrome/browser/manifest to content/browser. #

Patch Set 4 : Move chrome/browser/manifest to content/browser. #

Total comments: 6

Patch Set 5 : Move chrome/browser/manifest to content/browser. #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -1146 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.cc View 1 2 3 4 5 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/android/shortcut_helper.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 2 3 4 5 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/installable/installable_manager.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
D chrome/browser/manifest/OWNERS View 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_downloader.h View 1 chunk +0 lines, -75 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_downloader.cc View 1 chunk +0 lines, -189 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_downloader_unittest.cc View 1 chunk +0 lines, -142 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_selector.h View 1 chunk +0 lines, -36 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_selector.cc View 1 chunk +0 lines, -82 lines 0 comments Download
D chrome/browser/manifest/manifest_icon_selector_unittest.cc View 1 chunk +0 lines, -495 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/manifest/OWNERS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/manifest/manifest_browsertest.cc View 1 2 3 4 9 chunks +14 lines, -18 lines 0 comments Download
A + content/browser/manifest/manifest_icon_downloader.cc View 1 2 3 4 8 chunks +31 lines, -32 lines 0 comments Download
A + content/browser/manifest/manifest_icon_downloader_unittest.cc View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
A + content/browser/manifest/manifest_icon_selector.cc View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
A + content/browser/manifest/manifest_icon_selector_unittest.cc View 1 2 3 4 24 chunks +35 lines, -31 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A + content/public/browser/manifest_icon_downloader.h View 1 2 3 3 chunks +11 lines, -9 lines 0 comments Download
A + content/public/browser/manifest_icon_selector.h View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
zino
Hi gogerald@ and rouslan@, This change is trying to move the manifest icon selector/downloader from ...
3 years, 6 months ago (2017-06-12 17:05:28 UTC) #6
please use gerrit instead
Good idea! https://codereview.chromium.org/2933743002/diff/20001/content/browser/manifest/manifest_icon_downloader.cc File content/browser/manifest/manifest_icon_downloader.cc (right): https://codereview.chromium.org/2933743002/diff/20001/content/browser/manifest/manifest_icon_downloader.cc#newcode10 content/browser/manifest/manifest_icon_downloader.cc:10: #include "content/public/browser/manifest_icon_downloader.h" This line should be on ...
3 years, 6 months ago (2017-06-12 23:57:23 UTC) #7
zino
Thank you for review. PTAL https://codereview.chromium.org/2933743002/diff/20001/content/browser/manifest/manifest_icon_downloader.cc File content/browser/manifest/manifest_icon_downloader.cc (right): https://codereview.chromium.org/2933743002/diff/20001/content/browser/manifest/manifest_icon_downloader.cc#newcode10 content/browser/manifest/manifest_icon_downloader.cc:10: #include "content/public/browser/manifest_icon_downloader.h" On 2017/06/12 ...
3 years, 6 months ago (2017-06-13 16:07:45 UTC) #8
zino
jochen@, dfalcantara@ PTAL (as an owners)
3 years, 6 months ago (2017-06-13 16:09:17 UTC) #10
gone
lgtm
3 years, 6 months ago (2017-06-13 17:00:54 UTC) #11
gone
https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS File content/browser/manifest/OWNERS (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS#newcode2 content/browser/manifest/OWNERS:2: dfalcantara@chromium.org Make this so I'm only the OWNER of ...
3 years, 6 months ago (2017-06-13 17:01:37 UTC) #12
zino
Thank you for l-g-t-m. https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS File content/browser/manifest/OWNERS (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS#newcode2 content/browser/manifest/OWNERS:2: dfalcantara@chromium.org On 2017/06/13 17:01:37, dfalcantara ...
3 years, 6 months ago (2017-06-13 18:08:46 UTC) #13
gone
https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS File content/browser/manifest/OWNERS (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS#newcode2 content/browser/manifest/OWNERS:2: dfalcantara@chromium.org On 2017/06/13 18:08:46, zino wrote: > On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 18:14:01 UTC) #14
please use gerrit instead
lgtm % Dan's request.
3 years, 6 months ago (2017-06-13 20:41:36 UTC) #15
jochen (gone - plz use gerrit)
lgtm with namespace cleaned up https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/manifest_icon_downloader.cc File content/browser/manifest/manifest_icon_downloader.cc (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/manifest_icon_downloader.cc#newcode37 content/browser/manifest/manifest_icon_downloader.cc:37: content::WebContents* web_contents) nit. no ...
3 years, 6 months ago (2017-06-14 08:19:54 UTC) #16
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS File content/browser/manifest/OWNERS (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/OWNERS#newcode2 content/browser/manifest/OWNERS:2: dfalcantara@chromium.org On 2017/06/13 at 18:14:01, dfalcantara wrote: > On ...
3 years, 6 months ago (2017-06-14 08:21:26 UTC) #17
gogerald1
lgtm
3 years, 6 months ago (2017-06-14 13:30:09 UTC) #18
zino
Thank you for review. https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/manifest_icon_downloader.cc File content/browser/manifest/manifest_icon_downloader.cc (right): https://codereview.chromium.org/2933743002/diff/60001/content/browser/manifest/manifest_icon_downloader.cc#newcode37 content/browser/manifest/manifest_icon_downloader.cc:37: content::WebContents* web_contents) On 2017/06/14 08:19:54, ...
3 years, 6 months ago (2017-06-14 14:18:18 UTC) #19
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/2933743002/80001
3 years, 6 months ago (2017-06-14 14:18:49 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/199753)
3 years, 6 months ago (2017-06-14 14:52:53 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/2933743002/100001
3 years, 6 months ago (2017-06-14 15:13:01 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 16:59:51 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/84cadc8bbdf0d82af266f43c00d4...

Powered by Google App Engine
This is Rietveld 408576698