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

Issue 2349483002: Implement Physical Web listener registration (Closed)

Created:
4 years, 3 months ago by hayesjordan
Modified:
4 years, 3 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Physical Web listener registration Implement the RegisterListener, UnregisterListener, and notify methods in an abstract class so that all Physical Web data sources can have an the ability to push data to subscribers. BUG=636490 Committed: https://crrev.com/7b30c99f5ea9b24f352c720280ee78edebca37cf Cr-Commit-Position: refs/heads/master@{#420682}

Patch Set 1 #

Patch Set 2 : Add unit tests #

Total comments: 20

Patch Set 3 : Address cco3 comments #

Patch Set 4 : Address mattreynolds comments #

Total comments: 4

Patch Set 5 : Address mattreynolds comments #

Patch Set 6 : Fix build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -14 lines) Patch
M components/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/physical_web/data_source/BUILD.gn View 1 2 chunks +15 lines, -0 lines 0 comments Download
A components/physical_web/data_source/physical_web_data_source_impl.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A components/physical_web/data_source/physical_web_data_source_impl.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A components/physical_web/data_source/physical_web_data_source_impl_unittest.cc View 1 2 3 4 5 1 chunk +158 lines, -0 lines 0 comments Download
M ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h View 1 2 3 chunks +2 lines, -8 lines 0 comments Download
M ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.mm View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
cco3
https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc File components/physical_web/data_source/physical_web_data_source_impl.cc (right): https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc#newcode11 components/physical_web/data_source/physical_web_data_source_impl.cc:11: // observer_list_* = new ObserverList<PhysicalWebListener>(); Is this intentional? https://codereview.chromium.org/2349483002/diff/20001/ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h ...
4 years, 3 months ago (2016-09-20 22:11:34 UTC) #3
hayesjordan
https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc File components/physical_web/data_source/physical_web_data_source_impl.cc (right): https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc#newcode11 components/physical_web/data_source/physical_web_data_source_impl.cc:11: // observer_list_* = new ObserverList<PhysicalWebListener>(); On 2016/09/20 22:11:33, cco3 ...
4 years, 3 months ago (2016-09-20 22:21:47 UTC) #4
cco3
On 2016/09/20 22:21:47, hayesjordan wrote: > https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc > File components/physical_web/data_source/physical_web_data_source_impl.cc > (right): > > https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.cc#newcode11 ...
4 years, 3 months ago (2016-09-20 22:22:45 UTC) #5
mattreynolds
https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.h File components/physical_web/data_source/physical_web_data_source_impl.h (right): https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.h#newcode23 components/physical_web/data_source/physical_web_data_source_impl.h:23: // Notify all register listeners, that a URL has ...
4 years, 3 months ago (2016-09-20 22:49:34 UTC) #6
hayesjordan
https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.h File components/physical_web/data_source/physical_web_data_source_impl.h (right): https://codereview.chromium.org/2349483002/diff/20001/components/physical_web/data_source/physical_web_data_source_impl.h#newcode23 components/physical_web/data_source/physical_web_data_source_impl.h:23: // Notify all register listeners, that a URL has ...
4 years, 3 months ago (2016-09-21 20:47:44 UTC) #7
mattreynolds
https://codereview.chromium.org/2349483002/diff/60001/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc File components/physical_web/data_source/physical_web_data_source_impl_unittest.cc (right): https://codereview.chromium.org/2349483002/diff/60001/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc#newcode14 components/physical_web/data_source/physical_web_data_source_impl_unittest.cc:14: std::string url = "https://www.google.com"; Declare this as a char ...
4 years, 3 months ago (2016-09-21 22:01:34 UTC) #8
hayesjordan
https://codereview.chromium.org/2349483002/diff/60001/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc File components/physical_web/data_source/physical_web_data_source_impl_unittest.cc (right): https://codereview.chromium.org/2349483002/diff/60001/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc#newcode14 components/physical_web/data_source/physical_web_data_source_impl_unittest.cc:14: std::string url = "https://www.google.com"; On 2016/09/21 22:01:34, mattreynolds wrote: ...
4 years, 3 months ago (2016-09-21 22:25:07 UTC) #9
mattreynolds
On 2016/09/21 22:25:07, hayesjordan wrote: > https://codereview.chromium.org/2349483002/diff/60001/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc > File > components/physical_web/data_source/physical_web_data_source_impl_unittest.cc > (right): > > ...
4 years, 3 months ago (2016-09-22 00:50:48 UTC) #10
hayesjordan
blundell@chromium.org: Please review changes in components/BUILD.gn olivierrobin@chromium.org: Please review changes in ios/ chrome/common/physical_web/ios_chrome_physical_web_data_source.h and ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.mm
4 years, 3 months ago (2016-09-22 18:29:56 UTC) #12
blundell
//components/BUILD.gn LGTM
4 years, 3 months ago (2016-09-23 07:19:50 UTC) #13
Olivier
lgtm
4 years, 3 months ago (2016-09-23 08:16:37 UTC) #14
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/2349483002/80001
4 years, 3 months ago (2016-09-23 16:35:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/74204)
4 years, 3 months ago (2016-09-23 16:53:57 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/2349483002/100001
4 years, 3 months ago (2016-09-23 17:46:01 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-23 18:59:02 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 19:02:31 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7b30c99f5ea9b24f352c720280ee78edebca37cf
Cr-Commit-Position: refs/heads/master@{#420682}

Powered by Google App Engine
This is Rietveld 408576698