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

Issue 2637003002: Add share_target field to Manifest. (Closed)

Created:
3 years, 11 months ago by constantina
Modified:
3 years, 10 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, mlamouri+watch-manifest_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add share_target field to Manifest. Adds the share_url_template field to the Manifest object, for use with the Web Share Target API. For use in: codereview.chromium.org/2639463002/ BUG=668389 Review-Url: https://codereview.chromium.org/2637003002 Cr-Commit-Position: refs/heads/master@{#445322} Committed: https://chromium.googlesource.com/chromium/src/+/6e068f8014fdb411b63432c38aeb71fee20c7d18

Patch Set 1 #

Patch Set 2 : Clean up. #

Patch Set 3 : Remove pref related changes. #

Patch Set 4 : Cherrypicking. #

Patch Set 5 : Cherrypicking. #

Patch Set 6 : #

Patch Set 7 : Wrote tests #

Patch Set 8 : Doc update and clean up #

Total comments: 13

Patch Set 9 : Fixed some formatting, documentation, and added a test, all according to feedback. #

Patch Set 10 : #

Patch Set 11 : Documentation update. #

Total comments: 16

Patch Set 12 : Changed share_target type to base::Optional, and fixed tests, according to feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -9 lines) Patch
M content/common/manifest_manager_messages.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/common/manifest.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +18 lines, -0 lines 0 comments Download
M content/public/common/manifest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +11 lines, -9 lines 0 comments Download
M content/renderer/manifest/manifest_parser.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +15 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +22 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +81 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_uma_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (12 generated)
constantina
nasko@ for content/public, and security mlamouri@ for content/renderer/manifest.
3 years, 11 months ago (2017-01-18 06:18:26 UTC) #4
Matt Giuca
non-OWNER lgtm pending some nits. https://codereview.chromium.org/2637003002/diff/140001/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/2637003002/diff/140001/content/public/common/manifest.cc#newcode27 content/public/common/manifest.cc:27: Manifest::ShareTarget::ShareTarget() { } Has ...
3 years, 11 months ago (2017-01-18 07:51:32 UTC) #5
constantina
https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h File content/renderer/manifest/manifest_parser.h (right): https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h#newcode150 content/renderer/manifest/manifest_parser.h:150: // https://github.com/WICG/web-share-target/blob/master/docs/interface.md Documentation doesn't reference dictionary structure for the ...
3 years, 11 months ago (2017-01-18 07:52:18 UTC) #6
constantina
https://codereview.chromium.org/2637003002/diff/140001/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/2637003002/diff/140001/content/public/common/manifest.cc#newcode27 content/public/common/manifest.cc:27: Manifest::ShareTarget::ShareTarget() { } On 2017/01/18 07:51:32, Matt Giuca wrote: ...
3 years, 11 months ago (2017-01-18 23:28:10 UTC) #7
nasko
content/ LGTM with a couple of nits. https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h File content/renderer/manifest/manifest_parser.h (right): https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h#newcode153 content/renderer/manifest/manifest_parser.h:153: base::NullableString16 ParseShareTargetURLTemplate( ...
3 years, 11 months ago (2017-01-18 23:39:13 UTC) #8
constantina
https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h File content/renderer/manifest/manifest_parser.h (right): https://codereview.chromium.org/2637003002/diff/140001/content/renderer/manifest/manifest_parser.h#newcode153 content/renderer/manifest/manifest_parser.h:153: base::NullableString16 ParseShareTargetURLTemplate( On 2017/01/18 23:39:13, nasko wrote: > nit: ...
3 years, 11 months ago (2017-01-19 00:07:32 UTC) #9
Matt Giuca
https://codereview.chromium.org/2637003002/diff/200001/content/public/common/manifest.h File content/public/common/manifest.h (right): https://codereview.chromium.org/2637003002/diff/200001/content/public/common/manifest.h#newcode122 content/public/common/manifest.h:122: // Null if parsing failed or the field was ...
3 years, 11 months ago (2017-01-23 00:18:06 UTC) #14
mlamouri (slow - plz ping)
Thank you for the change Connie! and sorry for the delay :( lgtm with comments ...
3 years, 11 months ago (2017-01-23 00:22:26 UTC) #15
constantina
> Thank you for the change Connie! and sorry for the delay :( No worries, ...
3 years, 11 months ago (2017-01-23 02:51:36 UTC) #16
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/2637003002/220001
3 years, 11 months ago (2017-01-23 03:13:32 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 04:52:50 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/6e068f8014fdb411b63432c38aeb...

Powered by Google App Engine
This is Rietveld 408576698