diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 06:50:36 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 06:50:36 +0000 |
commit | 6faa0e0d23ca6fc27ae603063ce23eb018a670cd (patch) | |
tree | ce8256337ad0632cd3cdb797394ffeb1500e9280 /chrome/chrome.gyp | |
parent | 7b441021461106603e4b7769305b8fce7db17294 (diff) | |
download | chromium_src-6faa0e0d23ca6fc27ae603063ce23eb018a670cd.zip chromium_src-6faa0e0d23ca6fc27ae603063ce23eb018a670cd.tar.gz chromium_src-6faa0e0d23ca6fc27ae603063ce23eb018a670cd.tar.bz2 |
ImportantFileWriter
Introducing a class for writing important files, preventing their corruption during writing.
Switched PrefService to use it. Other classes will be switched in future changesets.
TEST=This may affect things using preferences. Make sure that changes in preferences don't get lost, and that you don't get excessive disk activity when changing preferences.
http://crbug.com/10618
Review URL: http://codereview.chromium.org/83001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14717 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index d85abc6b..6108e42 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -182,6 +182,8 @@ 'common/file_descriptor_set_posix.h', 'common/filter_policy.h', 'common/gears_api.h', + 'common/important_file_writer.cc', + 'common/important_file_writer.h', 'common/ipc_channel.h', 'common/ipc_channel_posix.cc', 'common/ipc_channel_posix.h', @@ -2352,6 +2354,7 @@ 'common/gfx/emf_unittest.cc', 'common/gfx/icon_util_unittest.cc', 'common/gfx/text_elider_unittest.cc', + 'common/important_file_writer_unittest.cc', 'common/ipc_message_unittest.cc', 'common/ipc_sync_channel_unittest.cc', 'common/ipc_sync_message_unittest.cc', |