diff options
author | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 00:03:48 +0000 |
---|---|---|
committer | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 00:03:48 +0000 |
commit | 1d85328f51c9a31fcdbc2715fc93280aec4e1130 (patch) | |
tree | fb58f5da88c4c47235570ea070a342aa2ae9fd2b /chrome | |
parent | f5c994bafe2ace72a1ab4dc523efc676218d7fe8 (diff) | |
download | chromium_src-1d85328f51c9a31fcdbc2715fc93280aec4e1130.zip chromium_src-1d85328f51c9a31fcdbc2715fc93280aec4e1130.tar.gz chromium_src-1d85328f51c9a31fcdbc2715fc93280aec4e1130.tar.bz2 |
This reverts the removal of a Flush that is correlated with file corruption.
Removal of this Flush is correlated with an increase in file
corruption on ChromeOS, so we're going to try and put it
back and see if our file corruption problems get better.
TBR=sky@chromium.org
BUG=chromium:236093
TEST=ran unit tests, ran on device.
Review URL: https://codereview.chromium.org/15937015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/sessions/session_backend.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/sessions/session_backend.cc b/chrome/browser/sessions/session_backend.cc index 8b0d58d..9492b75 100644 --- a/chrome/browser/sessions/session_backend.cc +++ b/chrome/browser/sessions/session_backend.cc @@ -337,6 +337,11 @@ bool SessionBackend::AppendCommandsToFile(net::FileStream* file, return false; } } +#if defined(OS_CHROMEOS) + // TODO(gspencer): Remove this once we find a better place to do it. + // See issue http://crbug.com/245015 + file->FlushSync(); +#endif } return true; } |