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

Issue 1437833004: Implemented clearing Java prefs after pulling variations first run seed from Java to C++ side (Closed)

Created:
5 years, 1 month ago by Alexander Agulenko
Modified:
5 years, 1 month ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented clearing Java prefs after pulling variations first run seed from Java to C++ side BUG=551029 Committed: https://crrev.com/683e65ca552aad24fd7794ca362a198103519d7f Cr-Commit-Position: refs/heads/master@{#359649}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Minor fixes according to codereview comments. #

Total comments: 4

Patch Set 3 : Merged with CL 1437833002 + fixed some code review comments #

Total comments: 14

Patch Set 4 : Minor code review fixes #

Total comments: 4

Patch Set 5 : Minor code review changes #

Patch Set 6 : Minor fix #

Patch Set 7 : Clang build error avoided #

Total comments: 4

Patch Set 8 : Fixed unit tests failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -6 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/variations/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java View 1 2 3 4 4 chunks +43 lines, -5 lines 0 comments Download
M components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M components/variations/android/variations_seed_bridge.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M components/variations/android/variations_seed_bridge.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M components/variations/variations_seed_store.cc View 1 2 3 4 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 41 (13 generated)
Alexander Agulenko
5 years, 1 month ago (2015-11-12 03:43:59 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/1437833004/diff/1/components/variations/android/variations_seed_bridge.cc File components/variations/android/variations_seed_bridge.cc (right): https://codereview.chromium.org/1437833004/diff/1/components/variations/android/variations_seed_bridge.cc#newcode58 components/variations/android/variations_seed_bridge.cc:58: void ClearJavaPrefs() { Nit: ClearJavaFirstRunPrefs(). https://codereview.chromium.org/1437833004/diff/1/components/variations/android/variations_seed_bridge.cc#newcode60 components/variations/android/variations_seed_bridge.cc:60: Java_VariationsSeedBridge_clearVariationsFirstRunSeedPrefs( In ...
5 years, 1 month ago (2015-11-12 16:30:11 UTC) #4
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/1/components/variations/variations_seed_store.cc File components/variations/variations_seed_store.cc (right): https://codereview.chromium.org/1437833004/diff/1/components/variations/variations_seed_store.cc#newcode373 components/variations/variations_seed_store.cc:373: android::ClearJavaPrefs(); On 2015/11/12 16:30:11, Alexei Svitkine (slow) wrote: > ...
5 years, 1 month ago (2015-11-12 17:25:26 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/1437833004/diff/1/components/variations/variations_seed_store.cc File components/variations/variations_seed_store.cc (right): https://codereview.chromium.org/1437833004/diff/1/components/variations/variations_seed_store.cc#newcode373 components/variations/variations_seed_store.cc:373: android::ClearJavaPrefs(); On 2015/11/12 17:25:25, Alexander Agulenko wrote: > On ...
5 years, 1 month ago (2015-11-12 17:36:28 UTC) #6
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/1/components/variations/android/variations_seed_bridge.cc File components/variations/android/variations_seed_bridge.cc (right): https://codereview.chromium.org/1437833004/diff/1/components/variations/android/variations_seed_bridge.cc#newcode58 components/variations/android/variations_seed_bridge.cc:58: void ClearJavaPrefs() { On 2015/11/12 16:30:11, Alexei Svitkine (slow) ...
5 years, 1 month ago (2015-11-12 17:40:25 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/1437833004/diff/20001/components/variations/variations_seed_store.cc File components/variations/variations_seed_store.cc (right): https://codereview.chromium.org/1437833004/diff/20001/components/variations/variations_seed_store.cc#newcode468 components/variations/variations_seed_store.cc:468: // If currently we do not have any stored ...
5 years, 1 month ago (2015-11-12 17:42:17 UTC) #8
Alexei Svitkine (slow)
Let's combine this with: https://codereview.chromium.org/1437833002/ Given the clear prefs markVariationsSeedAsStored() logic should happen at the ...
5 years, 1 month ago (2015-11-12 17:51:50 UTC) #9
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/20001/components/variations/variations_seed_store.cc File components/variations/variations_seed_store.cc (right): https://codereview.chromium.org/1437833004/diff/20001/components/variations/variations_seed_store.cc#newcode468 components/variations/variations_seed_store.cc:468: // If currently we do not have any stored ...
5 years, 1 month ago (2015-11-12 18:55:04 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/1437833004/diff/40001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java (right): https://codereview.chromium.org/1437833004/diff/40001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java#newcode24 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java:24: private static final String VARIATIONS_FIRST_RUN_SEED_NATIVE_STORED = Add a comment ...
5 years, 1 month ago (2015-11-12 19:03:22 UTC) #11
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/40001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java (right): https://codereview.chromium.org/1437833004/diff/40001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java#newcode24 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java:24: private static final String VARIATIONS_FIRST_RUN_SEED_NATIVE_STORED = On 2015/11/12 19:03:22, ...
5 years, 1 month ago (2015-11-12 19:50:09 UTC) #12
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/1437833004/diff/60001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java (right): https://codereview.chromium.org/1437833004/diff/60001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java#newcode24 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java:24: // This pref is used to ...
5 years, 1 month ago (2015-11-12 22:27:31 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437833004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437833004/60001
5 years, 1 month ago (2015-11-12 22:42:50 UTC) #15
Steven Holte
lgtm % alexei's comments.
5 years, 1 month ago (2015-11-12 22:45:16 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/29215)
5 years, 1 month ago (2015-11-12 22:51:42 UTC) #18
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/60001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java (right): https://codereview.chromium.org/1437833004/diff/60001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java#newcode24 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java:24: // This pref is used to store information about ...
5 years, 1 month ago (2015-11-12 23:43:39 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437833004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437833004/80001
5 years, 1 month ago (2015-11-12 23:48:18 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/145809)
5 years, 1 month ago (2015-11-13 00:44:39 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437833004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437833004/100001
5 years, 1 month ago (2015-11-13 04:13:59 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/95535)
5 years, 1 month ago (2015-11-13 06:02:45 UTC) #27
Alexei Svitkine (slow)
still lgtm % comments https://codereview.chromium.org/1437833004/diff/120001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java (right): https://codereview.chromium.org/1437833004/diff/120001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java#newcode46 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java:46: ssetFetchInProgressFlagValue(true); Nit: typo (sset -> ...
5 years, 1 month ago (2015-11-13 16:04:06 UTC) #28
Alexander Agulenko
https://codereview.chromium.org/1437833004/diff/120001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java File components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java (right): https://codereview.chromium.org/1437833004/diff/120001/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java#newcode46 components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedService.java:46: ssetFetchInProgressFlagValue(true); On 2015/11/13 16:04:05, Alexei Svitkine (slow) wrote: > ...
5 years, 1 month ago (2015-11-13 20:04:03 UTC) #29
Alexei Svitkine (slow)
lgtm
5 years, 1 month ago (2015-11-13 20:07:25 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/1437833004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437833004/140001
5 years, 1 month ago (2015-11-13 20:09:04 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-13 21:11:22 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437833004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437833004/140001
5 years, 1 month ago (2015-11-13 21:16:20 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-13 21:31:29 UTC) #38
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/683e65ca552aad24fd7794ca362a198103519d7f Cr-Commit-Position: refs/heads/master@{#359649}
5 years, 1 month ago (2015-11-13 21:32:54 UTC) #39
loyso (OOO)
5 years, 1 month ago (2015-11-14 01:31:56 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1447823003/ by loyso@chromium.org.

The reason for reverting is: Crashes android gn build (component unittests) .

Powered by Google App Engine
This is Rietveld 408576698