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 447653002: Fix Cronet mapping of Android log level into Chrome LogSeverity. (Closed)

Created:
6 years, 4 months ago by mef
Modified:
6 years, 4 months ago
Reviewers:
Charles, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix Cronet mapping of Android log level into Chrome LogSeverity. See VLOG(1) and VLOG(2) logging: TEST=adb shell setprop log.tag.ChromiumNetwork VERBOSE See VLOG(1) logging: TEST=adb shell setprop log.tag.ChromiumNetwork DEBUG See NO (only FATAL) logging: TEST=adb shell setprop log.tag.ChromiumNetwork NONE BUG=400956 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288088

Patch Set 1 #

Patch Set 2 : SetMinLogLevel instead of storing log_level in url request context. #

Total comments: 4

Patch Set 3 : Addressed Matt's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -50 lines) Patch
M components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java View 1 1 chunk +3 lines, -3 lines 0 comments Download
M components/cronet/android/org_chromium_net_UrlRequest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/cronet/android/org_chromium_net_UrlRequestContext.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M components/cronet/android/url_request_context_peer.h View 1 3 chunks +2 lines, -8 lines 0 comments Download
M components/cronet/android/url_request_context_peer.cc View 1 2 3 chunks +5 lines, -9 lines 0 comments Download
M components/cronet/android/url_request_peer.cc View 1 8 chunks +16 lines, -24 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mef
Could you take a look? I wonder if VLOG calls in Cronet should have hard-coded ...
6 years, 4 months ago (2014-08-06 03:26:53 UTC) #1
mmenke
On 2014/08/06 03:26:53, mef wrote: > Could you take a look? I wonder if VLOG ...
6 years, 4 months ago (2014-08-06 14:41:36 UTC) #2
mef
On 2014/08/06 14:41:36, mmenke wrote: > On 2014/08/06 03:26:53, mef wrote: > > Could you ...
6 years, 4 months ago (2014-08-06 15:31:14 UTC) #3
mmenke
On 2014/08/06 15:31:14, mef wrote: > On 2014/08/06 14:41:36, mmenke wrote: > > On 2014/08/06 ...
6 years, 4 months ago (2014-08-06 15:36:20 UTC) #4
mef
On 2014/08/06 15:36:20, mmenke wrote: > On 2014/08/06 15:31:14, mef wrote: > > On 2014/08/06 ...
6 years, 4 months ago (2014-08-06 16:07:11 UTC) #5
mef
PTAL. I've changed log_level usage to SetMinLogLevel and updated constants accordingly. I've tested it with ...
6 years, 4 months ago (2014-08-06 21:59:25 UTC) #6
mmenke
LGTM https://codereview.chromium.org/447653002/diff/20001/components/cronet/android/org_chromium_net_UrlRequestContext.cc File components/cronet/android/org_chromium_net_UrlRequestContext.cc (right): https://codereview.chromium.org/447653002/diff/20001/components/cronet/android/org_chromium_net_UrlRequestContext.cc#newcode90 components/cronet/android/org_chromium_net_UrlRequestContext.cc:90: logging::SetMinLogLevel(static_cast<int>(log_level)); Still a bit concerned about setting this ...
6 years, 4 months ago (2014-08-07 15:07:27 UTC) #7
mmenke
LGTM as-is (May want to fix the double-VLOG issue, though). For the record, we talked ...
6 years, 4 months ago (2014-08-07 15:27:23 UTC) #8
mef
thanks! https://codereview.chromium.org/447653002/diff/20001/components/cronet/android/org_chromium_net_UrlRequestContext.cc File components/cronet/android/org_chromium_net_UrlRequestContext.cc (right): https://codereview.chromium.org/447653002/diff/20001/components/cronet/android/org_chromium_net_UrlRequestContext.cc#newcode90 components/cronet/android/org_chromium_net_UrlRequestContext.cc:90: logging::SetMinLogLevel(static_cast<int>(log_level)); On 2014/08/07 15:07:27, mmenke wrote: > Still ...
6 years, 4 months ago (2014-08-07 15:39:57 UTC) #9
mef
The CQ bit was checked by mef@chromium.org
6 years, 4 months ago (2014-08-07 15:41:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mef@chromium.org/447653002/40001
6 years, 4 months ago (2014-08-07 15:43:57 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 17:07:25 UTC) #12
Message was sent while issue was closed.
Change committed as 288088

Powered by Google App Engine
This is Rietveld 408576698