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

Issue 1778273002: Stop printing LOG(ERROR) when NFC service is unknown (Closed)

Created:
4 years, 9 months ago by hashimoto
Modified:
4 years, 9 months ago
Reviewers:
armansito, stevenjb
CC:
chromium-reviews, oshima+watch_chromium.org, hashimoto+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop printing LOG(ERROR) when NFC service is unknown Add a new callback method to NfcPropertySet and let it own its WeakPtrFactory. Check the error name to reduce LOG(ERROR) noise. BUG=393311 TEST=Boot a Chromebook (link) and "grep neard /var/log/ui/ui.LATEST" to see nothing. Committed: https://crrev.com/0ec21794e4e82b2b88f7a6b7fce48c0e47a442ef Cr-Commit-Position: refs/heads/master@{#383025}

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -19 lines) Patch
M chromeos/dbus/nfc_client_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chromeos/dbus/nfc_property_set.h View 1 chunk +4 lines, -0 lines 3 comments Download
M chromeos/dbus/nfc_property_set.cc View 4 chunks +33 lines, -16 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
hashimoto
4 years, 9 months ago (2016-03-10 05:59:46 UTC) #3
hashimoto
Arman, could you take a look at this change?
4 years, 9 months ago (2016-03-17 11:19:08 UTC) #4
hashimoto
Steven, could you take a look at this change?
4 years, 9 months ago (2016-03-22 04:47:08 UTC) #6
stevenjb
Thanks for doing this! https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h File chromeos/dbus/nfc_property_set.h (right): https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h#newcode54 chromeos/dbus/nfc_property_set.h:54: base::WeakPtrFactory<NfcPropertySet> weak_ptr_factory_; Instead of adding ...
4 years, 9 months ago (2016-03-22 16:17:51 UTC) #7
hashimoto
https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h File chromeos/dbus/nfc_property_set.h (right): https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h#newcode54 chromeos/dbus/nfc_property_set.h:54: base::WeakPtrFactory<NfcPropertySet> weak_ptr_factory_; On 2016/03/22 16:17:51, stevenjb wrote: > Instead ...
4 years, 9 months ago (2016-03-23 03:27:03 UTC) #8
stevenjb
lgtm https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h File chromeos/dbus/nfc_property_set.h (right): https://codereview.chromium.org/1778273002/diff/20001/chromeos/dbus/nfc_property_set.h#newcode54 chromeos/dbus/nfc_property_set.h:54: base::WeakPtrFactory<NfcPropertySet> weak_ptr_factory_; On 2016/03/23 03:27:03, hashimoto wrote: > ...
4 years, 9 months ago (2016-03-23 04:03:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778273002/20001
4 years, 9 months ago (2016-03-24 03:15:40 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-24 03:54:26 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 03:55:49 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ec21794e4e82b2b88f7a6b7fce48c0e47a442ef
Cr-Commit-Position: refs/heads/master@{#383025}

Powered by Google App Engine
This is Rietveld 408576698