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

Issue 919293002: Add related_applications field to manifest parser. (Closed)

Created:
5 years, 10 months ago by benwells
Modified:
5 years, 8 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add related_applications field to manifest parser. The related_applications field will be used for sites to specify which apps the banners should show for. This change also adds the prefer_related_applications field. BUG=457403 Committed: https://crrev.com/e2aa9da48d4eafe05d449fab01c8bbc43087a441 Cr-Commit-Position: refs/heads/master@{#325819}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Feedback #

Patch Set 3 : Do IPC stuff #

Total comments: 4

Patch Set 4 : Fix stuffup #

Total comments: 2

Patch Set 5 : Improve comment for new array #

Total comments: 2

Patch Set 6 : Update for additions to spec #

Total comments: 18

Patch Set 7 : Rebase #

Patch Set 8 : Review feedback #

Total comments: 6

Patch Set 9 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -13 lines) Patch
M content/browser/manifest/manifest_manager_host.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -7 lines 0 comments Download
M content/common/manifest_manager_messages.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M content/public/common/manifest.h View 1 2 3 4 5 6 7 3 chunks +31 lines, -1 line 0 comments Download
M content/public/common/manifest.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -5 lines 0 comments Download
M content/renderer/manifest/manifest_parser.h View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser.cc View 1 2 3 4 5 6 7 2 chunks +71 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +182 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (25 generated)
benwells
Mounir - initial review pls.. https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc#newcode40 content/public/common/manifest.cc:40: chrome_related_applications.empty(); Hmmm this was ...
5 years, 10 months ago (2015-02-13 05:42:37 UTC) #2
mlamouri (slow - plz ping)
lgtm with comments applied https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc#newcode40 content/public/common/manifest.cc:40: chrome_related_applications.empty(); On 2015/02/13 at 05:42:37, ...
5 years, 10 months ago (2015-02-16 20:20:40 UTC) #3
benwells
+avi for content/public owners review https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/919293002/diff/1/content/public/common/manifest.cc#newcode40 content/public/common/manifest.cc:40: chrome_related_applications.empty(); On 2015/02/16 20:20:39, ...
5 years, 10 months ago (2015-02-16 23:58:44 UTC) #6
mlamouri (slow - plz ping)
lgtm with the manifest_messages.h comment addressed; the nits are optional. https://codereview.chromium.org/919293002/diff/40001/content/browser/manifest/manifest_manager_host.cc File content/browser/manifest/manifest_manager_host.cc (right): https://codereview.chromium.org/919293002/diff/40001/content/browser/manifest/manifest_manager_host.cc#newcode130 ...
5 years, 10 months ago (2015-02-17 12:43:20 UTC) #7
benwells
https://codereview.chromium.org/919293002/diff/40001/content/common/manifest_manager_messages.h File content/common/manifest_manager_messages.h (right): https://codereview.chromium.org/919293002/diff/40001/content/common/manifest_manager_messages.h#newcode22 content/common/manifest_manager_messages.h:22: content::Manifest::CHROME_RELATED_APPLICATION_PLATFORM_ANDROID) On 2015/02/17 12:43:20, Mounir Lamouri wrote: > Shouldn't ...
5 years, 10 months ago (2015-02-17 12:57:03 UTC) #9
benwells
btw will do the optional nits another day; it's late and I want to test ...
5 years, 10 months ago (2015-02-17 12:58:20 UTC) #10
benwells
+jschuh for manifest_manager_messages.h
5 years, 10 months ago (2015-02-17 12:59:15 UTC) #12
Avi (use Gerrit)
I'm starting to get a bit weirded out here. Manifest is a core web concept, ...
5 years, 10 months ago (2015-02-17 16:20:22 UTC) #13
benwells
Weirding out noted. I've contacted you offline about it... https://codereview.chromium.org/919293002/diff/60001/content/public/common/manifest.h File content/public/common/manifest.h (right): https://codereview.chromium.org/919293002/diff/60001/content/public/common/manifest.h#newcode116 content/public/common/manifest.h:116: ...
5 years, 10 months ago (2015-02-17 20:31:13 UTC) #14
Avi (use Gerrit)
On 2015/02/17 20:31:13, benwells wrote: > Weirding out noted. I've contacted you offline about it... ...
5 years, 10 months ago (2015-02-17 20:53:46 UTC) #15
jschuh
https://codereview.chromium.org/919293002/diff/80001/content/public/common/manifest.h File content/public/common/manifest.h (right): https://codereview.chromium.org/919293002/diff/80001/content/public/common/manifest.h#newcode73 content/public/common/manifest.h:73: base::NullableString16 id; Any way we can make this type ...
5 years, 10 months ago (2015-02-17 21:55:13 UTC) #16
benwells
https://codereview.chromium.org/919293002/diff/80001/content/public/common/manifest.h File content/public/common/manifest.h (right): https://codereview.chromium.org/919293002/diff/80001/content/public/common/manifest.h#newcode73 content/public/common/manifest.h:73: base::NullableString16 id; On 2015/02/17 21:55:12, jschuh wrote: > Any ...
5 years, 10 months ago (2015-02-17 22:11:17 UTC) #17
benwells
Mounir - I've udpated this for the spec updates. Wanna have another look?
5 years, 8 months ago (2015-04-10 03:41:00 UTC) #20
mlamouri (slow - plz ping)
Thanks! :) I have a couple of comments. See below. https://codereview.chromium.org/919293002/diff/140001/content/browser/manifest/manifest_manager_host.cc File content/browser/manifest/manifest_manager_host.cc (right): https://codereview.chromium.org/919293002/diff/140001/content/browser/manifest/manifest_manager_host.cc#newcode133 ...
5 years, 8 months ago (2015-04-10 09:49:45 UTC) #21
benwells
https://codereview.chromium.org/919293002/diff/140001/content/browser/manifest/manifest_manager_host.cc File content/browser/manifest/manifest_manager_host.cc (right): https://codereview.chromium.org/919293002/diff/140001/content/browser/manifest/manifest_manager_host.cc#newcode133 content/browser/manifest/manifest_manager_host.cc:133: manifest.related_applications[i].id= base::NullableString16( On 2015/04/10 09:49:44, Mounir Lamouri wrote: > ...
5 years, 8 months ago (2015-04-15 06:45:22 UTC) #23
mlamouri (slow - plz ping)
lgtm, thanks! :) https://codereview.chromium.org/919293002/diff/200001/content/renderer/manifest/manifest_parser_unittest.cc File content/renderer/manifest/manifest_parser_unittest.cc (right): https://codereview.chromium.org/919293002/diff/200001/content/renderer/manifest/manifest_parser_unittest.cc#newcode915 content/renderer/manifest/manifest_parser_unittest.cc:915: "{\"platform\": \"play\", \"id\": \"foo\"},{}]}"); Could you ...
5 years, 8 months ago (2015-04-15 08:46:31 UTC) #24
Avi (use Gerrit)
not lgtm My objection has not been addressed. This is not core to the web, ...
5 years, 8 months ago (2015-04-15 15:21:07 UTC) #25
benwells
On 2015/04/15 15:21:07, Avi wrote: > not lgtm > > My objection has not been ...
5 years, 8 months ago (2015-04-15 20:28:15 UTC) #26
Avi (use Gerrit)
Oh. That really does change things. A few nits, but this lgtm. BTW, in the ...
5 years, 8 months ago (2015-04-15 20:36:34 UTC) #27
benwells
jschuh: this is now ready (again) for a security / IPC review. When you last ...
5 years, 8 months ago (2015-04-16 01:30:47 UTC) #28
jschuh
Sorry, I have a family emergency that will be keeping me away from work for ...
5 years, 8 months ago (2015-04-16 17:17:39 UTC) #29
benwells
-jschuh +tsepez for ipc security review
5 years, 8 months ago (2015-04-16 22:10:31 UTC) #31
Tom Sepez
On 2015/04/16 22:10:31, benwells wrote: > -jschuh > +tsepez for ipc security review Messages LGTM.
5 years, 8 months ago (2015-04-16 22:39:04 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919293002/220001
5 years, 8 months ago (2015-04-16 23:04:20 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/49161)
5 years, 8 months ago (2015-04-17 01:46:45 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919293002/220001
5 years, 8 months ago (2015-04-17 02:45:56 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/49257)
5 years, 8 months ago (2015-04-17 04:25:13 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919293002/220001
5 years, 8 months ago (2015-04-17 07:35:36 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/47949)
5 years, 8 months ago (2015-04-17 09:05:56 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919293002/220001
5 years, 8 months ago (2015-04-20 08:01:35 UTC) #55
commit-bot: I haz the power
Committed patchset #9 (id:220001)
5 years, 8 months ago (2015-04-20 09:27:29 UTC) #56
commit-bot: I haz the power
5 years, 8 months ago (2015-04-20 09:29:57 UTC) #57
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e2aa9da48d4eafe05d449fab01c8bbc43087a441
Cr-Commit-Position: refs/heads/master@{#325819}

Powered by Google App Engine
This is Rietveld 408576698