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

Issue 2113473002: Add a Physical Web data source (Closed)

Created:
4 years, 5 months ago by mattreynolds
Modified:
3 years, 10 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org, mmocny
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a Physical Web data source Add a helper class for accessing nearby URL metadata and controlling Physical Web scanning and URL resolution from C++. This metadata will be used by an omnibox autocomplete provider which should not depend on ios/chrome. BUG=630769 Committed: https://crrev.com/c565df2c11f431f8711db353e7ec00d48ab9901c Cr-Commit-Position: refs/heads/master@{#410829}

Patch Set 1 #

Patch Set 2 : Remove notification #

Total comments: 6

Patch Set 3 : changes for olivierrobin@ #

Patch Set 4 : add OWNERS, move to //components/physical_web #

Patch Set 5 : rename IOSChromePhysicalWebDataSource #

Patch Set 6 : fix include order #

Total comments: 6

Patch Set 7 : components/physical_web.gypi #

Total comments: 20

Patch Set 8 : move data source instance to ApplicationContext #

Total comments: 23

Patch Set 9 : forward declarations and other fixes #

Total comments: 1

Patch Set 10 : obj-c loop syntax #

Patch Set 11 : rebase #

Patch Set 12 : rebase harder #

Patch Set 13 : fix TestingApplicationContext #

Patch Set 14 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -21 lines) Patch
M components/components.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A + components/physical_web.gypi View 1 2 3 4 5 6 7 1 chunk +8 lines, -8 lines 0 comments Download
A + components/physical_web/OWNERS View 1 2 3 7 1 chunk +1 line, -1 line 0 comments Download
A + components/physical_web/data_source/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
A components/physical_web/data_source/physical_web_data_source.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
M ios/chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/application_context.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/application_context_impl.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/application_context_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -0 lines 0 comments Download
A ios/chrome/browser/physical_web/create_physical_web_data_source.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
A ios/chrome/browser/physical_web/create_physical_web_data_source.mm View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M ios/chrome/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/common/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/common/physical_web/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.mm View 1 2 3 4 5 6 7 8 1 chunk +47 lines, -0 lines 0 comments Download
M ios/chrome/common/physical_web/physical_web.gyp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/common/physical_web/physical_web_scanner.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -1 line 0 comments Download
M ios/chrome/common/physical_web/physical_web_scanner.mm View 1 2 3 4 5 6 7 8 9 3 chunks +39 lines, -8 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/test/testing_application_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/test/testing_application_context.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (24 generated)
mattreynolds
Hi Olivier, PTAL
4 years, 5 months ago (2016-06-29 21:51:58 UTC) #2
Olivier
https://codereview.chromium.org/2113473002/diff/20001/ios/chrome/browser/ios_chrome_main_parts.mm File ios/chrome/browser/ios_chrome_main_parts.mm (right): https://codereview.chromium.org/2113473002/diff/20001/ios/chrome/browser/ios_chrome_main_parts.mm#newcode142 ios/chrome/browser/ios_chrome_main_parts.mm:142: PhysicalWebDataSource::SetInstance( Do we want to create this object if ...
4 years, 5 months ago (2016-06-30 08:14:11 UTC) #3
mattreynolds
https://codereview.chromium.org/2113473002/diff/20001/ios/chrome/browser/ios_chrome_main_parts.mm File ios/chrome/browser/ios_chrome_main_parts.mm (right): https://codereview.chromium.org/2113473002/diff/20001/ios/chrome/browser/ios_chrome_main_parts.mm#newcode142 ios/chrome/browser/ios_chrome_main_parts.mm:142: PhysicalWebDataSource::SetInstance( On 2016/06/30 08:14:11, Olivier Robin wrote: > Do ...
4 years, 5 months ago (2016-06-30 17:51:58 UTC) #4
mattreynolds
Hi Sylvain, PTAL
4 years, 5 months ago (2016-06-30 17:56:00 UTC) #6
mattreynolds
ping
4 years, 5 months ago (2016-07-08 18:07:53 UTC) #7
olivierrobin
lgtm
4 years, 5 months ago (2016-07-11 12:34:19 UTC) #9
mattreynolds
Rohit, please review the changes in ios/chrome/* Colin, please review the changes in components/*
4 years, 5 months ago (2016-07-12 19:11:31 UTC) #12
blundell
The new component should have OWNERS (ideally, more than just you, and ideally one of ...
4 years, 5 months ago (2016-07-13 08:47:05 UTC) #13
sdefresne
On 2016/07/13 08:47:05, blundell wrote: > The new component should have OWNERS (ideally, more than ...
4 years, 5 months ago (2016-07-13 10:03:49 UTC) #14
mattreynolds
On 2016/07/13 08:47:05, blundell (OOO until July 18) wrote: > The new component should have ...
4 years, 5 months ago (2016-07-13 18:07:52 UTC) #15
blundell
OK, this reasoning seems pretty sound -- there is no way currently for the embedder ...
4 years, 5 months ago (2016-07-18 06:39:57 UTC) #18
chromium-reviews
Tes, you can add me as owner. I am OOO this week so I answer ...
4 years, 5 months ago (2016-07-18 14:31:35 UTC) #19
mattreynolds
The design doc is up, PTAL: https://docs.google.com/document/d/1CXN2Dj3QtvLXobXcu--hBsKnWKN8BsOvo9dN9QlzZeM
4 years, 5 months ago (2016-07-26 00:24:14 UTC) #20
blundell
On 2016/07/26 00:24:14, mattreynolds wrote: > The design doc is up, PTAL: > > https://docs.google.com/document/d/1CXN2Dj3QtvLXobXcu--hBsKnWKN8BsOvo9dN9QlzZeM ...
4 years, 5 months ago (2016-07-26 06:41:20 UTC) #21
mattreynolds
On 2016/07/26 06:41:20, blundell wrote: > On 2016/07/26 00:24:14, mattreynolds wrote: > > The design ...
4 years, 4 months ago (2016-07-27 19:05:19 UTC) #23
blundell
https://codereview.chromium.org/2113473002/diff/100001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/2113473002/diff/100001/components/components.gyp#newcode71 components/components.gyp:71: 'physical_web_data_source.gypi', nit: This should just be physical_web.gypi now. https://codereview.chromium.org/2113473002/diff/100001/components/physical_web/data_source/physical_web_data_source.h ...
4 years, 4 months ago (2016-07-28 11:12:25 UTC) #24
mattreynolds
https://codereview.chromium.org/2113473002/diff/100001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/2113473002/diff/100001/components/components.gyp#newcode71 components/components.gyp:71: 'physical_web_data_source.gypi', On 2016/07/28 11:12:25, blundell wrote: > nit: This ...
4 years, 4 months ago (2016-07-29 01:36:31 UTC) #25
blundell
I'm OOO for the next two weeks. Sylvain is both a //components OWNER and an ...
4 years, 4 months ago (2016-07-29 12:10:22 UTC) #26
mattreynolds
On 2016/07/29 12:10:22, blundell (OOO until August 16) wrote: > I'm OOO for the next ...
4 years, 4 months ago (2016-08-01 23:20:39 UTC) #27
mattreynolds
If I add the PhysicalWebDataSource instance to BrowserProcess is it still appropriate to create the ...
4 years, 4 months ago (2016-08-02 00:41:39 UTC) #28
sdefresne
https://codereview.chromium.org/2113473002/diff/120001/components/physical_web/data_source/physical_web_data_source.h File components/physical_web/data_source/physical_web_data_source.h (right): https://codereview.chromium.org/2113473002/diff/120001/components/physical_web/data_source/physical_web_data_source.h#newcode21 components/physical_web/data_source/physical_web_data_source.h:21: static PhysicalWebDataSource* GetInstance(); I agree with blundell, and I ...
4 years, 4 months ago (2016-08-02 22:23:37 UTC) #29
mattreynolds
https://codereview.chromium.org/2113473002/diff/120001/components/physical_web/data_source/physical_web_data_source.h File components/physical_web/data_source/physical_web_data_source.h (right): https://codereview.chromium.org/2113473002/diff/120001/components/physical_web/data_source/physical_web_data_source.h#newcode21 components/physical_web/data_source/physical_web_data_source.h:21: static PhysicalWebDataSource* GetInstance(); On 2016/08/02 22:23:36, sdefresne (travelling - ...
4 years, 4 months ago (2016-08-04 00:56:13 UTC) #30
sdefresne
This LG. I've added some comments on local changes I think are worth doing. https://codereview.chromium.org/2113473002/diff/140001/components/physical_web/data_source/physical_web_data_source.h ...
4 years, 4 months ago (2016-08-04 19:23:48 UTC) #31
mattreynolds
https://codereview.chromium.org/2113473002/diff/140001/components/physical_web/data_source/physical_web_data_source.h File components/physical_web/data_source/physical_web_data_source.h (right): https://codereview.chromium.org/2113473002/diff/140001/components/physical_web/data_source/physical_web_data_source.h#newcode10 components/physical_web/data_source/physical_web_data_source.h:10: #include "base/values.h" On 2016/08/04 19:23:47, sdefresne (travelling - slow) ...
4 years, 4 months ago (2016-08-04 21:14:35 UTC) #32
sdefresne
lgtm https://codereview.chromium.org/2113473002/diff/160001/ios/chrome/common/physical_web/physical_web_scanner.mm File ios/chrome/common/physical_web/physical_web_scanner.mm (right): https://codereview.chromium.org/2113473002/diff/160001/ios/chrome/common/physical_web/physical_web_scanner.mm#newcode157 ios/chrome/common/physical_web/physical_web_scanner.mm:157: for (int i = 0; i < deviceCount; ...
4 years, 4 months ago (2016-08-04 21:26:00 UTC) #33
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/2113473002/180001
4 years, 4 months ago (2016-08-08 21:58:42 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/108716) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 4 months ago (2016-08-08 22:02:38 UTC) #38
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/2113473002/200001
4 years, 4 months ago (2016-08-08 22:19:01 UTC) #41
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/48092) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-08 22:21:41 UTC) #43
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/2113473002/220001
4 years, 4 months ago (2016-08-09 17:51:27 UTC) #46
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/48713) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-09 18:03:03 UTC) #48
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/2113473002/240001
4 years, 4 months ago (2016-08-09 18:49:55 UTC) #51
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/48781)
4 years, 4 months ago (2016-08-09 19:00:11 UTC) #53
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/2113473002/260001
4 years, 4 months ago (2016-08-09 19:11:55 UTC) #56
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 4 months ago (2016-08-09 21:31:23 UTC) #58
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 21:33:35 UTC) #60
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/c565df2c11f431f8711db353e7ec00d48ab9901c
Cr-Commit-Position: refs/heads/master@{#410829}

Powered by Google App Engine
This is Rietveld 408576698