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

Issue 1178253005: Use Chromium's logging utility for content files (Closed)

Created:
5 years, 6 months ago by ams
Modified:
5 years, 6 months ago
Reviewers:
Ted C, jdduke (slow), dgn
CC:
AKVT, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use Chromium's logging utility for content files This patch modifies all the files under content/public/android/java to use org.chromium.base.Log instead of android.util.Log. It also changes the log messges as per the guidelines. BUG=472152 Committed: https://crrev.com/fbcb7c45bd634d5c9b09acdc1b3efd008d6f9970 Cr-Commit-Position: refs/heads/master@{#335910}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Addressed peer review comments #

Total comments: 1

Patch Set 3 : Some more nits #

Total comments: 4

Patch Set 4 : Addressing dgn's nits #

Total comments: 2

Patch Set 5 : Few more nits #

Total comments: 3

Patch Set 6 : Add LocationProviderFactory and address few nits #

Patch Set 7 : Remove 'DEBUG' and use chromium's Log.d instead #

Total comments: 3

Patch Set 8 : Revert Patch Set 7 and fix other nits #

Patch Set 9 : few more nits #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -117 lines) Patch
M content/public/android/java/src/org/chromium/content/app/ChildProcessService.java View 1 2 3 4 5 6 7 8 9 10 chunks +12 lines, -12 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BackgroundSyncLauncherService.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java View 1 2 3 4 5 6 7 8 9 7 chunks +8 lines, -9 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java View 1 2 3 4 5 6 7 8 9 5 chunks +5 lines, -5 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java View 1 2 3 4 5 6 7 8 9 7 chunks +13 lines, -13 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java View 5 chunks +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 3 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 2 chunks +3 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 9 4 chunks +3 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/DeviceSensors.java View 4 chunks +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/LocationProviderFactory.java View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java View 1 2 3 4 10 chunks +12 lines, -12 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/MediaSession.java View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java View 5 chunks +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/SelectActionMode.java View 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/TimeZoneMonitor.java View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java View 1 2 3 4 5 6 7 8 9 12 chunks +16 lines, -16 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/common/CleanupReference.java View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 42 (10 generated)
ams
5 years, 6 months ago (2015-06-16 06:47:57 UTC) #1
AKVT
Few nits marked. https://codereview.chromium.org/1178253005/diff/1/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java File content/public/android/java/src/org/chromium/content/app/ChildProcessService.java (right): https://codereview.chromium.org/1178253005/diff/1/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java#newcode50 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java:50: private static final String TAG = ...
5 years, 6 months ago (2015-06-16 08:48:54 UTC) #3
ams
Addressed the review comments. Please take a look again. On 2015/06/16 08:48:54, AKV away wrote: ...
5 years, 6 months ago (2015-06-16 10:43:53 UTC) #4
AKVT
peer review looks good to me! https://codereview.chromium.org/1178253005/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1178253005/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode169 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:169: Log.w(TAG, "updateState [%s] ...
5 years, 6 months ago (2015-06-16 11:36:23 UTC) #5
ams
On 2015/06/16 11:36:23, AKV away wrote: > peer review looks good to me! > > ...
5 years, 6 months ago (2015-06-16 13:26:41 UTC) #7
ams
PTAL
5 years, 6 months ago (2015-06-16 13:30:58 UTC) #8
dgn
Naming nit: one of the goals of with the logging changes was to make it ...
5 years, 6 months ago (2015-06-16 14:59:36 UTC) #9
dgn
non owner lgtm % stray toString() calls. https://codereview.chromium.org/1178253005/diff/60001/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java File content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java (right): https://codereview.chromium.org/1178253005/diff/60001/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java#newcode102 content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java:102: Log.e(TAG, "Can't ...
5 years, 6 months ago (2015-06-17 09:21:13 UTC) #10
ams
@dgn, Thanks for the review. I have adressed few nits and for few, I would ...
5 years, 6 months ago (2015-06-17 09:45:30 UTC) #11
ams
On 2015/06/17 09:21:13, dgn wrote: > non owner lgtm % stray toString() calls. > > ...
5 years, 6 months ago (2015-06-17 09:46:15 UTC) #12
ams
@jdduke, PTAL. Also please suggest if I should add any other owner.
5 years, 6 months ago (2015-06-17 09:48:15 UTC) #13
jdduke (slow)
In general this looks fine but I'm technically just an owner for input-related changes. +tedchoc ...
5 years, 6 months ago (2015-06-17 19:37:15 UTC) #15
ams
On 2015/06/17 19:37:15, jdduke wrote: > In general this looks fine but I'm technically just ...
5 years, 6 months ago (2015-06-18 07:25:08 UTC) #16
ams
@TedC, PTAL.
5 years, 6 months ago (2015-06-18 07:25:39 UTC) #17
Ted C
On 2015/06/18 07:25:39, ams wrote: > @TedC, > > PTAL. lgtm
5 years, 6 months ago (2015-06-19 20:21:01 UTC) #18
dgn
https://codereview.chromium.org/1178253005/diff/80001/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java File content/public/android/java/src/org/chromium/content/app/ChildProcessService.java (right): https://codereview.chromium.org/1178253005/diff/80001/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java#newcode298 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java:298: Log.e(TAG, "Not a valid surfaceObject: %s" + surfaceObject); s/+/, ...
5 years, 6 months ago (2015-06-19 21:44:50 UTC) #19
ams
PTAL On 2015/06/19 21:44:50, dgn wrote: > https://codereview.chromium.org/1178253005/diff/80001/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java > File > content/public/android/java/src/org/chromium/content/app/ChildProcessService.java > (right): > ...
5 years, 6 months ago (2015-06-22 10:49:51 UTC) #20
dgn
non owner lgtm. Thanks!
5 years, 6 months ago (2015-06-22 11:17:07 UTC) #21
ams
@TedC, PTAL again.
5 years, 6 months ago (2015-06-22 12:58:34 UTC) #22
Ted C
just to offer the opposing opinion, but to Jared's point let's keep things restricted where ...
5 years, 6 months ago (2015-06-22 16:02:45 UTC) #23
dgn
On 2015/06/22 at 16:02:45, tedchoc wrote: > just to offer the opposing opinion, but to ...
5 years, 6 months ago (2015-06-22 16:17:10 UTC) #24
ams
@TedC, PTAL. I have reverted the DEBUG -> Log.d conversion for both the files as ...
5 years, 6 months ago (2015-06-23 11:07:21 UTC) #25
Ted C
lgtm
5 years, 6 months ago (2015-06-23 17:26:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178253005/160001
5 years, 6 months ago (2015-06-23 17:41:22 UTC) #29
commit-bot: I haz the power
Exceeded global retry quota
5 years, 6 months ago (2015-06-23 17:45:15 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178253005/160001
5 years, 6 months ago (2015-06-24 02:23:45 UTC) #33
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years, 6 months ago (2015-06-24 02:26:49 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178253005/180001
5 years, 6 months ago (2015-06-24 11:38:11 UTC) #38
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 6 months ago (2015-06-24 12:38:09 UTC) #39
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/fbcb7c45bd634d5c9b09acdc1b3efd008d6f9970 Cr-Commit-Position: refs/heads/master@{#335910}
5 years, 6 months ago (2015-06-24 12:38:52 UTC) #40
jdduke (slow)
On 2015/06/24 12:38:52, commit-bot: I haz the power wrote: > Patchset 10 (id:??) landed as ...
5 years, 6 months ago (2015-06-24 12:40:37 UTC) #41
ams
5 years, 6 months ago (2015-06-24 12:42:26 UTC) #42
Message was sent while issue was closed.
On 2015/06/24 12:40:37, jdduke wrote:
> On 2015/06/24 12:38:52, commit-bot: I haz the power wrote:
> > Patchset 10 (id:??) landed as
> > https://crrev.com/fbcb7c45bd634d5c9b09acdc1b3efd008d6f9970
> > Cr-Commit-Position: refs/heads/master@{#335910}
> 
> Thanks, and please remember the guidelines here if you end up making similar
> changes elsewhere.

Sure, thanks!

Powered by Google App Engine
This is Rietveld 408576698