diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 13:48:30 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 13:48:30 +0000 |
commit | a2756c185ee411cd4c38ae1657fc7b41147e345d (patch) | |
tree | 43c971868866b81a75cd367ad579894e2c8bb86a /chrome/common | |
parent | f4d6aecadcf1fae544a2894392062e132ddcd073 (diff) | |
download | chromium_src-a2756c185ee411cd4c38ae1657fc7b41147e345d.zip chromium_src-a2756c185ee411cd4c38ae1657fc7b41147e345d.tar.gz chromium_src-a2756c185ee411cd4c38ae1657fc7b41147e345d.tar.bz2 |
Enable the NOTREACHED() in ImportantFileWriter also on Windows
and fix the tests.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/6680004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/important_file_writer.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/common/important_file_writer.cc b/chrome/common/important_file_writer.cc index 661f4ee..f5c5fc1 100644 --- a/chrome/common/important_file_writer.cc +++ b/chrome/common/important_file_writer.cc @@ -111,13 +111,10 @@ void ImportantFileWriter::WriteNow(const std::string& data) { // Posting the task to background message loop is not expected // to fail, but if it does, avoid losing data and just hit the disk // on the current thread. - // TODO(phajdan.jr): Fix test failures on Win and enable code below. -#if !defined(OS_WIN) NOTREACHED(); WriteToDiskTask write_task(path_, data); write_task.Run(); -#endif } } |