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

Issue 2745323002: Adding std::ostream& operator<<(std::ostream& out, NSError* error) (Closed)

Created:
3 years, 9 months ago by jlebel
Modified:
3 years, 8 months ago
Reviewers:
scheib
CC:
chromium-reviews, scheib+watch_chromium.org, ortuno+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding std::ostream& operator<<(std::ostream& out, NSError* error) BUG=624811 Review-Url: https://codereview.chromium.org/2745323002 Cr-Commit-Position: refs/heads/master@{#460854} Committed: https://chromium.googlesource.com/chromium/src/+/568d1b3fc68429c453b883e67db2389c74892c4e

Patch Set 1 : . #

Patch Set 2 : Support for nil error #

Patch Set 3 : Moving operator<< to bluetooth_adapter_mac.mm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -28 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 4 chunks +4 lines, -11 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 3 chunks +10 lines, -14 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
jlebel
Hello Vincent, I would like to add this function so we can easily log NSError. ...
3 years, 9 months ago (2017-03-22 22:59:02 UTC) #6
scheib
mark, help us know where to put stream operator for NSError? I like this approach. ...
3 years, 9 months ago (2017-03-22 23:59:19 UTC) #8
jlebel
Hello Mark, Can you review this patch to add operator<< for NSError*? Thanks,
3 years, 8 months ago (2017-03-28 22:15:24 UTC) #10
scheib
Nico, would you help us know where to put stream operator for NSError? I like ...
3 years, 8 months ago (2017-03-30 17:30:58 UTC) #12
Nico
If you only need it in bluetooth device code, put it there. See base/OWNERS for ...
3 years, 8 months ago (2017-03-30 17:44:26 UTC) #13
jlebel
On 2017/03/30 17:44:26, Nico (afk until Tue Apr 4) wrote: > If you only need ...
3 years, 8 months ago (2017-03-30 17:47:08 UTC) #14
scheib
lgtm
3 years, 8 months ago (2017-03-30 17:52:27 UTC) #21
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/2745323002/80001
3 years, 8 months ago (2017-03-30 17:52:54 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/2745323002/140001
3 years, 8 months ago (2017-03-30 19:31:09 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 19:44:49 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/568d1b3fc68429c453b883e67db2...

Powered by Google App Engine
This is Rietveld 408576698