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

Issue 2961733002: [CrOS Tether] Remove spammy log from Initializer. (Closed)

Created:
3 years, 5 months ago by Kyle Horimoto
Modified:
3 years, 5 months ago
Reviewers:
Ryan Hansberry
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, oshima+watch_chromium.org, lesliewatkins+watch-tether_chromium.org, khorimoto+watch-tether_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CrOS Tether] Remove spammy log from Initializer. Previously, we printed a warning log each time Init() was called when the feature had already been initialized. This resulted in spammy logs since this is expected to happen under some circumstances. This CL also adds some extra tests in TetherService which ensure that Init() is called correctly. BUG=672263, 736443 Review-Url: https://codereview.chromium.org/2961733002 Cr-Commit-Position: refs/heads/master@{#483195} Committed: https://chromium.googlesource.com/chromium/src/+/9aa44ab0d44d18475363d33873f8160d9022cab1

Patch Set 1 #

Total comments: 4

Patch Set 2 : hansberry@ comments. #

Patch Set 3 : Simplified else statement. #

Total comments: 4

Patch Set 4 : hansberry@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -11 lines) Patch
M chrome/browser/chromeos/tether/tether_service.h View 1 2 3 4 chunks +34 lines, -1 line 0 comments Download
M chrome/browser/chromeos/tether/tether_service.cc View 1 2 3 6 chunks +33 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/tether/tether_service_unittest.cc View 1 15 chunks +52 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/components/tether/initializer.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Kyle Horimoto
3 years, 5 months ago (2017-06-26 23:41:00 UTC) #2
Ryan Hansberry
https://codereview.chromium.org/2961733002/diff/1/chrome/browser/chromeos/tether/tether_service.cc File chrome/browser/chromeos/tether/tether_service.cc (right): https://codereview.chromium.org/2961733002/diff/1/chrome/browser/chromeos/tether/tether_service.cc#newcode209 chrome/browser/chromeos/tether/tether_service.cc:209: if (!was_tether_enabled && Please add a test. https://codereview.chromium.org/2961733002/diff/1/chromeos/components/tether/initializer.cc File ...
3 years, 5 months ago (2017-06-26 23:55:08 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2961733002/diff/1/chrome/browser/chromeos/tether/tether_service.cc File chrome/browser/chromeos/tether/tether_service.cc (right): https://codereview.chromium.org/2961733002/diff/1/chrome/browser/chromeos/tether/tether_service.cc#newcode209 chrome/browser/chromeos/tether/tether_service.cc:209: if (!was_tether_enabled && On 2017/06/26 23:55:08, Ryan Hansberry wrote: ...
3 years, 5 months ago (2017-06-27 00:56:01 UTC) #5
Ryan Hansberry
lgtm with nit https://codereview.chromium.org/2961733002/diff/40001/chrome/browser/chromeos/tether/tether_service.cc File chrome/browser/chromeos/tether/tether_service.cc (right): https://codereview.chromium.org/2961733002/diff/40001/chrome/browser/chromeos/tether/tether_service.cc#newcode49 chrome/browser/chromeos/tether/tether_service.cc:49: void TetherService::TetherService::InitializerDelegate::InitializeTether( Sorry for the noob ...
3 years, 5 months ago (2017-06-28 17:02:40 UTC) #6
Kyle Horimoto
https://codereview.chromium.org/2961733002/diff/40001/chrome/browser/chromeos/tether/tether_service.cc File chrome/browser/chromeos/tether/tether_service.cc (right): https://codereview.chromium.org/2961733002/diff/40001/chrome/browser/chromeos/tether/tether_service.cc#newcode49 chrome/browser/chromeos/tether/tether_service.cc:49: void TetherService::TetherService::InitializerDelegate::InitializeTether( On 2017/06/28 17:02:40, Ryan Hansberry wrote: > ...
3 years, 5 months ago (2017-06-28 21:57:48 UTC) #7
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/2961733002/60001
3 years, 5 months ago (2017-06-28 21:58:24 UTC) #10
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 23:33:56 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9aa44ab0d44d18475363d33873f8...

Powered by Google App Engine
This is Rietveld 408576698