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

Issue 2667283006: Mac QICRCodeFeature: forward declare in base/mac/sdk_forward_declarations.h (Closed)

Created:
3 years, 10 months ago by mcasas
Modified:
3 years, 10 months ago
CC:
chromium-reviews, mac-reviews_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: forward declare CIQRCodeFeature in base/mac/sdk_forward_declarations.h CIQRCodeFeature [1] is an interface in the CoreImage framework (which at a time was part of the QuartzCore framework) and is used to detect QR Codes in images. CIQRCodeFeature is only available in Mac OS X 10.10+, which is fine for the bots bug causes warnings elsewhere: .../CoreImage.framework/Headers/CIFeature.h:113:12: note: 'CIQRCodeFeature' has been explicitly marked partial here @interface CIQRCodeFeature : CIFeature ^ ../../services/shape_detection/barcode_detection_impl_mac.mm:69:8: note: enclose 'CIQRCodeFeature' in an @available check to silence this warning This CL adds it to sdk_forward_declarations so it's forward-defined when needed. [1] https://developer.apple.com/reference/coreimage/ciqrcodefeature?language=objc BUG=665150 TBR=rockot Review-Url: https://codereview.chromium.org/2667283006 Cr-Commit-Position: refs/heads/master@{#448092} Committed: https://chromium.googlesource.com/chromium/src/+/7058aa1630b1508762a87d3fee3918e42c3046f7

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Small mods after repro'ing locally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 2 chunks +13 lines, -1 line 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.mm View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
mcasas
thakis@/rsesek@ PTAL
3 years, 10 months ago (2017-02-03 19:04:08 UTC) #3
Sunny
On 2017/02/03 19:04:08, mcasas wrote: > thakis@/rsesek@ PTAL Oops...Seems the issues I mentioned still exists ...
3 years, 10 months ago (2017-02-03 19:07:33 UTC) #4
Nico
https://codereview.chromium.org/2667283006/diff/20001/services/shape_detection/face_detection_impl_mac.mm File services/shape_detection/face_detection_impl_mac.mm (right): https://codereview.chromium.org/2667283006/diff/20001/services/shape_detection/face_detection_impl_mac.mm#newcode12 services/shape_detection/face_detection_impl_mac.mm:12: #include "services/shape_detection/detection_utils_mac.h" do you need to include forward_declarations here?
3 years, 10 months ago (2017-02-03 19:25:45 UTC) #5
mcasas
Managed to repro locally by adding use_system_xcode = true to my local args.gn, and managed ...
3 years, 10 months ago (2017-02-03 21:04:16 UTC) #6
Nico
lgtm
3 years, 10 months ago (2017-02-03 21:06:01 UTC) #7
mcasas
rockot@ RS plz tiny changes in services/shape_detection
3 years, 10 months ago (2017-02-03 21:26:29 UTC) #11
Nico
On 2017/02/03 21:26:29, mcasas wrote: > rockot@ RS plz tiny changes in services/shape_detection Given that ...
3 years, 10 months ago (2017-02-03 22:19:23 UTC) #14
Nico
(added a TBR line and clicked cq)
3 years, 10 months ago (2017-02-03 22:32:01 UTC) #17
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/2667283006/40001
3 years, 10 months ago (2017-02-03 22:32:55 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 22:40:32 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7058aa1630b1508762a87d3fee39...

Powered by Google App Engine
This is Rietveld 408576698