summaryrefslogtreecommitdiffstats
path: root/mojo/aura
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 18:29:47 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 18:29:47 +0000
commitcfcf0e53fa4ee2f4b89b477390f1906db0cbf4d9 (patch)
tree45e191c27689c6ca35c4f4595ae70f27e20df2a6 /mojo/aura
parent0b3578cc0eac2ff7b9e639c57e3a56d0004ddd53 (diff)
downloadchromium_src-cfcf0e53fa4ee2f4b89b477390f1906db0cbf4d9.zip
chromium_src-cfcf0e53fa4ee2f4b89b477390f1906db0cbf4d9.tar.gz
chromium_src-cfcf0e53fa4ee2f4b89b477390f1906db0cbf4d9.tar.bz2
Expand the JsonPrefStore's interface to allow for an alternate filename to be specified.
The alternate filename is intended to be the old name of the pref file being read, JsonPrefStore handles the migration if required. JsonPrefStore's FileThreadDeserializer is the best place to do this as it's the only code in the prefs stack running on a thread allowed to do IO (another solution would be to let JsonPrefStore take a PreReadOnFileThreadCallback to abstract the required work away, but the direct approach seemed easier here without breaking encapsulation). BUG=372547 Review URL: https://codereview.chromium.org/347793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/aura')
0 files changed, 0 insertions, 0 deletions