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

Issue 2731273004: Add Platform Independent Eddystone Encoder (Closed)

Created:
3 years, 9 months ago by iankc
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Platform Independent Eddystone Encoder This change creates an eddystone encoder in cpp, which can be used across platforms for future physical web projects. Right now, specifically, it will be used for Physical Web Sharing. Here are the eddystone specs: https://github.com/google/eddystone/blob/master/protocol-specification.md BUG=685856 Review-Url: https://codereview.chromium.org/2731273004 Cr-Commit-Position: refs/heads/master@{#457164} Committed: https://chromium.googlesource.com/chromium/src/+/cbdb60c32817557d172f233b1fbf3f9111fc46ec

Patch Set 1 #

Total comments: 22

Patch Set 2 : Matts Nits 1 #

Total comments: 20

Patch Set 3 : Matts Nits Part 2 #

Total comments: 2

Patch Set 4 : Matts nits #

Total comments: 10

Patch Set 5 : Olivier Nitts #

Patch Set 6 : Rebasing With Master #

Total comments: 6

Patch Set 7 : Agrieves nits #

Patch Set 8 : Fixing Casting Problems #

Patch Set 9 : Fixing more Casting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+575 lines, -0 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A components/physical_web/eddystone/BUILD.gn View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A components/physical_web/eddystone/eddystone_encoder.h View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A components/physical_web/eddystone/eddystone_encoder.cc View 1 2 3 4 5 6 7 1 chunk +90 lines, -0 lines 0 comments Download
A components/physical_web/eddystone/eddystone_encoder_unittest.cc View 1 2 3 4 5 6 7 1 chunk +422 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (23 generated)
iankc
Here is the platform independent eddystone encoder.
3 years, 9 months ago (2017-03-08 01:21:53 UTC) #3
mattreynolds
https://codereview.chromium.org/2731273004/diff/1/components/physical_web/eddystone/BUILD.gn File components/physical_web/eddystone/BUILD.gn (right): https://codereview.chromium.org/2731273004/diff/1/components/physical_web/eddystone/BUILD.gn#newcode12 components/physical_web/eddystone/BUILD.gn:12: "//base", //base might not be required, can you try ...
3 years, 9 months ago (2017-03-08 19:14:47 UTC) #4
iankc
Fixed Matts Comments. Please Review again. https://codereview.chromium.org/2731273004/diff/1/components/physical_web/eddystone/BUILD.gn File components/physical_web/eddystone/BUILD.gn (right): https://codereview.chromium.org/2731273004/diff/1/components/physical_web/eddystone/BUILD.gn#newcode12 components/physical_web/eddystone/BUILD.gn:12: "//base", On 2017/03/08 ...
3 years, 9 months ago (2017-03-09 20:45:45 UTC) #5
mattreynolds
https://codereview.chromium.org/2731273004/diff/20001/components/physical_web/eddystone/eddystone_encoder.cc File components/physical_web/eddystone/eddystone_encoder.cc (right): https://codereview.chromium.org/2731273004/diff/20001/components/physical_web/eddystone/eddystone_encoder.cc#newcode24 components/physical_web/eddystone/eddystone_encoder.cc:24: int EncodeUrl(const std::string& url, std::vector<uint8_t>* encoded_url) { Add a ...
3 years, 9 months ago (2017-03-09 22:11:31 UTC) #6
iankc
https://codereview.chromium.org/2731273004/diff/20001/components/physical_web/eddystone/eddystone_encoder.cc File components/physical_web/eddystone/eddystone_encoder.cc (right): https://codereview.chromium.org/2731273004/diff/20001/components/physical_web/eddystone/eddystone_encoder.cc#newcode24 components/physical_web/eddystone/eddystone_encoder.cc:24: int EncodeUrl(const std::string& url, std::vector<uint8_t>* encoded_url) { On 2017/03/09 ...
3 years, 9 months ago (2017-03-09 23:17:50 UTC) #7
mattreynolds
lgtm https://codereview.chromium.org/2731273004/diff/40001/components/physical_web/eddystone/eddystone_encoder.h File components/physical_web/eddystone/eddystone_encoder.h (right): https://codereview.chromium.org/2731273004/diff/40001/components/physical_web/eddystone/eddystone_encoder.h#newcode13 components/physical_web/eddystone/eddystone_encoder.h:13: const int kInvalidURL = -2; In C++, use ...
3 years, 9 months ago (2017-03-09 23:39:48 UTC) #8
iankc
https://codereview.chromium.org/2731273004/diff/40001/components/physical_web/eddystone/eddystone_encoder.h File components/physical_web/eddystone/eddystone_encoder.h (right): https://codereview.chromium.org/2731273004/diff/40001/components/physical_web/eddystone/eddystone_encoder.h#newcode13 components/physical_web/eddystone/eddystone_encoder.h:13: const int kInvalidURL = -2; On 2017/03/09 23:39:48, mattreynolds ...
3 years, 9 months ago (2017-03-10 22:28:45 UTC) #9
iankc
Hey Olivier, I'm an eng res on the Physical Web team working on a Physical ...
3 years, 9 months ago (2017-03-10 22:37:15 UTC) #11
Olivier
LGTM, just nits. https://codereview.chromium.org/2731273004/diff/40002/components/physical_web/eddystone/BUILD.gn File components/physical_web/eddystone/BUILD.gn (right): https://codereview.chromium.org/2731273004/diff/40002/components/physical_web/eddystone/BUILD.gn#newcode11 components/physical_web/eddystone/BUILD.gn:11: public_deps = [ Why public? https://codereview.chromium.org/2731273004/diff/40002/components/physical_web/eddystone/eddystone_encoder.cc ...
3 years, 9 months ago (2017-03-13 11:57:56 UTC) #12
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/2731273004/70001
3 years, 9 months ago (2017-03-13 17:50:54 UTC) #15
iankc
Thanks Olivier! https://codereview.chromium.org/2731273004/diff/40002/components/physical_web/eddystone/BUILD.gn File components/physical_web/eddystone/BUILD.gn (right): https://codereview.chromium.org/2731273004/diff/40002/components/physical_web/eddystone/BUILD.gn#newcode11 components/physical_web/eddystone/BUILD.gn:11: public_deps = [ On 2017/03/13 11:57:55, Olivier ...
3 years, 9 months ago (2017-03-13 17:53:01 UTC) #17
iankc
Thanks Olivier!
3 years, 9 months ago (2017-03-13 17:53:04 UTC) #18
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/2731273004/70001
3 years, 9 months ago (2017-03-13 17:54:18 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/384042)
3 years, 9 months ago (2017-03-13 18:03:56 UTC) #22
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/2731273004/90001
3 years, 9 months ago (2017-03-13 18:25:08 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/384088)
3 years, 9 months ago (2017-03-13 18:34:38 UTC) #27
iankc
Hi agrieve, This is a CL to add an URL to Eddystone URL encoder in ...
3 years, 9 months ago (2017-03-13 20:30:34 UTC) #29
agrieve
BUILD file lgtm, but left some bonus suggestions on the code. https://codereview.chromium.org/2731273004/diff/90001/components/physical_web/eddystone/eddystone_encoder.cc File components/physical_web/eddystone/eddystone_encoder.cc (right): ...
3 years, 9 months ago (2017-03-14 00:30:15 UTC) #30
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/2731273004/110001
3 years, 9 months ago (2017-03-14 01:01:59 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/384533)
3 years, 9 months ago (2017-03-14 01:12:55 UTC) #35
iankc
https://codereview.chromium.org/2731273004/diff/90001/components/physical_web/eddystone/eddystone_encoder.cc File components/physical_web/eddystone/eddystone_encoder.cc (right): https://codereview.chromium.org/2731273004/diff/90001/components/physical_web/eddystone/eddystone_encoder.cc#newcode29 components/physical_web/eddystone/eddystone_encoder.cc:29: if (encoded_url == NULL) On 2017/03/14 00:30:15, agrieve wrote: ...
3 years, 9 months ago (2017-03-14 17:42:16 UTC) #37
iankc
Hello Colin, This is a CL to make an eddystone encoder for a Physical Web ...
3 years, 9 months ago (2017-03-14 17:45:07 UTC) #38
blundell
//components/BUILD.gn lgtm
3 years, 9 months ago (2017-03-15 15:16:29 UTC) #39
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/2731273004/130001
3 years, 9 months ago (2017-03-15 16:46:59 UTC) #42
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/384795)
3 years, 9 months ago (2017-03-15 16:58:36 UTC) #44
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/2731273004/150001
3 years, 9 months ago (2017-03-15 17:54:43 UTC) #47
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 19:25:04 UTC) #50
Message was sent while issue was closed.
Committed patchset #9 (id:150001) as
https://chromium.googlesource.com/chromium/src/+/cbdb60c32817557d172f233b1fbf...

Powered by Google App Engine
This is Rietveld 408576698