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

Issue 1993243002: ⛲ Add presubmit to prevent SharedPreferences misuse. (Closed)

Created:
4 years, 7 months ago by Peter Wen
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add presubmit to prevent SharedPreferences misuse. BUG=599284 Committed: https://crrev.com/bdc444ee2eebb0970f239cc6f651c4e794915c37 Cr-Commit-Position: refs/heads/master@{#395881}

Patch Set 1 #

Patch Set 2 : Fix presubmit. #

Patch Set 3 : Use checkstyle instead. #

Patch Set 4 : Add suppression for ContextUtils. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -44 lines) Patch
M PRESUBMIT.py View 1 2 11 chunks +36 lines, -35 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeBackupAgent.java View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackupIntegrationTest.java View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ChromeBackupAgentTest.java View 2 chunks +8 lines, -3 lines 0 comments Download
M tools/android/checkstyle/chromium-style-5.0.xml View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
A tools/android/checkstyle/suppressions.xml View 1 2 3 1 chunk +6 lines, -0 lines 2 comments Download

Messages

Total messages: 22 (8 generated)
Peter Wen
4 years, 7 months ago (2016-05-19 15:35:29 UTC) #2
Torne
LGTM in general but I don't really know how the presubmit works; I assume there ...
4 years, 7 months ago (2016-05-19 15:54:40 UTC) #3
Peter Wen
+phajdan.jr@ for PRESUBMIT.py OWNERS (check java style on commit too). +michaelbai@ for tools/android OWNERS. +nyquist@ ...
4 years, 7 months ago (2016-05-19 18:04:29 UTC) #5
michaelbai
On 2016/05/19 18:04:29, Peter Wen wrote: > +phajdan.jr@ for PRESUBMIT.py OWNERS (check java style on ...
4 years, 7 months ago (2016-05-19 18:11:28 UTC) #6
Peter Wen
+yfriedman@ for checkstyles.
4 years, 7 months ago (2016-05-19 18:38:27 UTC) #8
Paweł Hajdan Jr.
LGTM
4 years, 7 months ago (2016-05-19 23:04:01 UTC) #9
Yaron
lgtm https://codereview.chromium.org/1993243002/diff/2/tools/android/checkstyle/suppressions.xml File tools/android/checkstyle/suppressions.xml (right): https://codereview.chromium.org/1993243002/diff/2/tools/android/checkstyle/suppressions.xml#newcode4 tools/android/checkstyle/suppressions.xml:4: <suppressions> Nice that this kind of proves that ...
4 years, 7 months ago (2016-05-20 14:46:04 UTC) #10
nyquist
lgtm
4 years, 7 months ago (2016-05-23 21:19:59 UTC) #11
Peter Wen
Thanks for the reviews! https://codereview.chromium.org/1993243002/diff/2/tools/android/checkstyle/suppressions.xml File tools/android/checkstyle/suppressions.xml (right): https://codereview.chromium.org/1993243002/diff/2/tools/android/checkstyle/suppressions.xml#newcode4 tools/android/checkstyle/suppressions.xml:4: <suppressions> On 2016/05/20 14:46:04, Yaron ...
4 years, 7 months ago (2016-05-24 12:09:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993243002/2 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993243002/2
4 years, 7 months ago (2016-05-24 12:13:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/188754)
4 years, 7 months ago (2016-05-24 12:19:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993243002/2 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993243002/2
4 years, 7 months ago (2016-05-25 12:56:59 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:2)
4 years, 7 months ago (2016-05-25 13:44:26 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 13:46:03 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bdc444ee2eebb0970f239cc6f651c4e794915c37
Cr-Commit-Position: refs/heads/master@{#395881}

Powered by Google App Engine
This is Rietveld 408576698