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

Issue 329093003: Remove unloaded profile hash store initialization, (Closed)

Created:
6 years, 6 months ago by erikwright (departed)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, robertshield
Visibility:
Public.

Description

Remove unloaded profile hash store initialization. Also: * Remove all traces of pref hash stores after last store reset. * Make super MAC optional. BUG=372547 TBR=asvitkine,jhawkins Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277209

Patch Set 1 #

Patch Set 2 : Remove more code. #

Total comments: 17

Patch Set 3 : Review comments. #

Total comments: 3

Patch Set 4 : Remove dead code. #

Patch Set 5 : Final nits. #

Patch Set 6 : Combine three CLs. #

Total comments: 1

Patch Set 7 : Fix browser tests compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -841 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/first_run/first_run_browsertest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 2 3 4 7 chunks +4 lines, -57 lines 0 comments Download
D chrome/browser/prefs/pref_hash_browsertest.cc View 1 chunk +0 lines, -325 lines 0 comments Download
M chrome/browser/prefs/pref_hash_store_impl.h View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/prefs/pref_hash_store_impl.cc View 1 2 3 4 5 3 chunks +13 lines, -33 lines 0 comments Download
M chrome/browser/prefs/pref_hash_store_impl_unittest.cc View 1 2 3 4 5 14 chunks +40 lines, -99 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.h View 1 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.cc View 1 2 3 4 5 5 chunks +2 lines, -178 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager_unittest.cc View 8 chunks +9 lines, -73 lines 0 comments Download
M chrome/browser/prefs/tracked/hash_store_contents.h View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/prefs/tracked/pref_service_hash_store_contents.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/prefs/tracked/pref_service_hash_store_contents.cc View 1 2 3 4 5 3 chunks +10 lines, -21 lines 0 comments Download
M chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc View 1 2 3 4 5 4 chunks +12 lines, -23 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
erikwright (departed)
gab: PTAL. I'm kind of shocked by how many files are touched by just this ...
6 years, 6 months ago (2014-06-11 18:40:46 UTC) #1
gab
On 2014/06/11 18:40:46, erikwright wrote: > gab: PTAL. I'm kind of shocked by how many ...
6 years, 6 months ago (2014-06-11 18:58:54 UTC) #2
gab
You'll also need a rubberstamp from a chrome/OWNER for chrome_browser_main.cc (and if you're not using ...
6 years, 6 months ago (2014-06-11 19:25:42 UTC) #3
erikwright (departed)
PTAL. https://codereview.chromium.org/329093003/diff/20001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (left): https://codereview.chromium.org/329093003/diff/20001/chrome/browser/prefs/chrome_pref_service_factory.cc#oldcode500 chrome/browser/prefs/chrome_pref_service_factory.cc:500: if (GetSettingsEnforcementGroup() >= GROUP_ENFORCE_ALWAYS) On 2014/06/11 19:25:42, gab ...
6 years, 6 months ago (2014-06-11 21:08:36 UTC) #4
gab
lgtm w/ nits and replies to your questions https://codereview.chromium.org/329093003/diff/20001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (left): https://codereview.chromium.org/329093003/diff/20001/chrome/browser/prefs/chrome_pref_service_factory.cc#oldcode500 chrome/browser/prefs/chrome_pref_service_factory.cc:500: if ...
6 years, 6 months ago (2014-06-11 21:39:29 UTC) #5
gab
Just found another piece of dead code, we can expand the CL description and remove ...
6 years, 6 months ago (2014-06-12 22:09:00 UTC) #6
erikwright (departed)
jhawkins: for chrome_browser_main.cc. asvitkine: for histograms.xml This CL removes support for initialization of MAC-based protection ...
6 years, 6 months ago (2014-06-13 17:19:37 UTC) #7
erikwright (departed)
Combine three CLs.
6 years, 6 months ago (2014-06-13 17:38:00 UTC) #8
erikwright (departed)
On 2014/06/13 17:38:00, erikwright wrote: > Combine three CLs. I combined two other closely related ...
6 years, 6 months ago (2014-06-13 17:41:28 UTC) #9
gab
still lgtm w/ one extra test request https://codereview.chromium.org/329093003/diff/100001/chrome/browser/prefs/pref_hash_store_impl_unittest.cc File chrome/browser/prefs/pref_hash_store_impl_unittest.cc (right): https://codereview.chromium.org/329093003/diff/100001/chrome/browser/prefs/pref_hash_store_impl_unittest.cc#newcode152 chrome/browser/prefs/pref_hash_store_impl_unittest.cc:152: ASSERT_FALSE(CreateHashStoreContents()->GetSuperMac().empty()); This ...
6 years, 6 months ago (2014-06-13 18:04:10 UTC) #10
erikwright (departed)
On 2014/06/13 18:04:10, gab wrote: > still lgtm w/ one extra test request > > ...
6 years, 6 months ago (2014-06-13 18:08:04 UTC) #11
gab
On 2014/06/13 18:08:04, erikwright wrote: > On 2014/06/13 18:04:10, gab wrote: > > still lgtm ...
6 years, 6 months ago (2014-06-13 20:33:29 UTC) #12
erikwright (departed)
TBR=asvitkine,jhawkins for trivial changes to chrome_browser_main and histograms.xml
6 years, 6 months ago (2014-06-13 20:37:27 UTC) #13
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 6 months ago (2014-06-13 20:37:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/329093003/110001
6 years, 6 months ago (2014-06-13 20:39:25 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-13 22:15:44 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 22:18:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/162482)
6 years, 6 months ago (2014-06-13 22:18:54 UTC) #18
gab
The CQ bit was checked by gab@chromium.org
6 years, 6 months ago (2014-06-13 22:21:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/329093003/110001
6 years, 6 months ago (2014-06-13 22:24:18 UTC) #20
Alexei Svitkine (slow)
lgtm
6 years, 6 months ago (2014-06-14 01:36:11 UTC) #21
commit-bot: I haz the power
Change committed as 277209
6 years, 6 months ago (2014-06-14 08:47:44 UTC) #22
James Hawkins
6 years, 6 months ago (2014-06-16 20:31:40 UTC) #23
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698