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

Issue 23528008: Don't use path expansion for profile dictionaries in LocalState (Closed)

Created:
7 years, 3 months ago by michaelpg
Modified:
7 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Don't use path expansion for profile dictionaries in LocalState and ProfileInfoCache. Otherwise if the usernames are only being hashed by appending "-hash", extra dictionaries are created and written out to the LocalState file. In particular, the ProfileInfoCache stores some extraneous information. This change should have no impact when running on real machines. BUG=289772 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223448

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed nit and merged. #

Patch Set 3 : Unit Tests #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -19 lines) Patch
M chrome/browser/prefs/pref_metrics_service.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/prefs/pref_metrics_service.cc View 1 2 3 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/prefs/pref_metrics_service_unittest.cc View 1 2 3 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 1 2 3 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
michaelpg
Fix for extra profiles in profile cache, would like to get committed before CrOS multiprofile ...
7 years, 3 months ago (2013-09-11 23:46:17 UTC) #1
battre
LGTM if you add unit tests (they can be reviewed by somebody else) (no need ...
7 years, 3 months ago (2013-09-12 08:38:46 UTC) #2
xiyuan
lgtm https://codereview.chromium.org/23528008/diff/1/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/23528008/diff/1/chrome/browser/prefs/pref_metrics_service.cc#newcode351 chrome/browser/prefs/pref_metrics_service.cc:351: // which may have a . nit: which ...
7 years, 3 months ago (2013-09-12 16:18:37 UTC) #3
Elliot Glaysher
lgtm
7 years, 3 months ago (2013-09-12 17:48:19 UTC) #4
michaelpg
Updated unit tests - Xiyuan, could you take a look? Thanks. https://codereview.chromium.org/23528008/diff/1/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): ...
7 years, 3 months ago (2013-09-14 18:18:32 UTC) #5
xiyuan
SLGTM https://codereview.chromium.org/23528008/diff/17001/chrome/browser/prefs/pref_metrics_service_unittest.cc File chrome/browser/prefs/pref_metrics_service_unittest.cc (right): https://codereview.chromium.org/23528008/diff/17001/chrome/browser/prefs/pref_metrics_service_unittest.cc#newcode51 chrome/browser/prefs/pref_metrics_service_unittest.cc:51: // Check that PrefMetricsService behaves with a '.' ...
7 years, 3 months ago (2013-09-14 18:39:55 UTC) #6
michaelpg
Waiting for tree to open. https://codereview.chromium.org/23528008/diff/17001/chrome/browser/prefs/pref_metrics_service_unittest.cc File chrome/browser/prefs/pref_metrics_service_unittest.cc (right): https://codereview.chromium.org/23528008/diff/17001/chrome/browser/prefs/pref_metrics_service_unittest.cc#newcode51 chrome/browser/prefs/pref_metrics_service_unittest.cc:51: // Check that PrefMetricsService ...
7 years, 3 months ago (2013-09-14 19:30:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/23528008/32001
7 years, 3 months ago (2013-09-16 16:53:26 UTC) #8
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=79350
7 years, 3 months ago (2013-09-16 19:42:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/23528008/32001
7 years, 3 months ago (2013-09-16 21:10:44 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 22:26:40 UTC) #11
Message was sent while issue was closed.
Change committed as 223448

Powered by Google App Engine
This is Rietveld 408576698