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

Issue 1131903007: [Android log] Promote using hardcoded string tags (Closed)

Created:
5 years, 7 months ago by dgn
Modified:
5 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android log] Promote using hardcoded string tags This is to avoid static initializers that would make the code slower. See the linked bug for discussion. This patch deprecates Log#makeTag(String) and adds presubmit checks to enforce at submit time what makeTag was trying to do: length and naming rules BUG=485772 Committed: https://crrev.com/aa68d5ec85d3d708557fe8004e6e6ad04416cd0d Cr-Commit-Position: refs/heads/master@{#333710}

Patch Set 1 #

Patch Set 2 : Add presubmit #

Patch Set 3 : Add length check and test, remove java tag check #

Total comments: 1

Patch Set 4 : Rebased, renamed the android group check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -20 lines) Patch
M PRESUBMIT.py View 1 2 3 3 chunks +80 lines, -1 line 0 comments Download
M PRESUBMIT_test.py View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M base/android/java/src/org/chromium/base/Log.java View 1 2 3 8 chunks +10 lines, -18 lines 0 comments Download
M base/android/java/src/org/chromium/base/README_logging.md View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
dgn
PTAL. According to the discussion on the bug, I added presubmit checks to notify for ...
5 years, 7 months ago (2015-05-18 17:56:12 UTC) #2
Yaron
On 2015/05/18 17:56:12, dgn wrote: > PTAL. According to the discussion on the bug, I ...
5 years, 7 months ago (2015-05-20 13:51:48 UTC) #3
dgn
jochen@ can you PTAL at PRESUBMIT.py and PRESUBMIT_test.py? After the rebase, they now run only ...
5 years, 6 months ago (2015-06-09 13:37:11 UTC) #4
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-10 08:33:45 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131903007/60001
5 years, 6 months ago (2015-06-10 08:56:18 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-10 10:01:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131903007/60001
5 years, 6 months ago (2015-06-10 10:04:54 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-10 10:08:28 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 10:09:27 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aa68d5ec85d3d708557fe8004e6e6ad04416cd0d
Cr-Commit-Position: refs/heads/master@{#333710}

Powered by Google App Engine
This is Rietveld 408576698