diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 14:20:12 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 14:20:12 +0000 |
commit | 2d57f5d07890c173c79432b64e215b6bb049444a (patch) | |
tree | e84880ad33d40818ff47a2ac72ac22a91c8b61ca /webkit/fileapi | |
parent | 7a0c14d18c721f08332eaab1094e918027e0b132 (diff) | |
download | chromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.zip chromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.tar.gz chromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.tar.bz2 |
Added WARN_UNUSED_RESULT to ScopedTempDir methods.
BUG=NONE
TEST=all targets build, tests pass.
Review URL: http://codereview.chromium.org/6042009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi')
-rw-r--r-- | webkit/fileapi/file_system_operation_unittest.cc | 3 | ||||
-rw-r--r-- | webkit/fileapi/file_system_path_manager_unittest.cc | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/webkit/fileapi/file_system_operation_unittest.cc b/webkit/fileapi/file_system_operation_unittest.cc index dffcc33..7917d31 100644 --- a/webkit/fileapi/file_system_operation_unittest.cc +++ b/webkit/fileapi/file_system_operation_unittest.cc @@ -27,8 +27,7 @@ class FileSystemOperationTest : public testing::Test { public: FileSystemOperationTest() : status_(kFileOperationStatusNotSet) { - base_.CreateUniqueTempDir(); - EXPECT_TRUE(base_.IsValid()); + EXPECT_TRUE(base_.CreateUniqueTempDir()); } FileSystemOperation* operation(); diff --git a/webkit/fileapi/file_system_path_manager_unittest.cc b/webkit/fileapi/file_system_path_manager_unittest.cc index 7fa3672..2201215c 100644 --- a/webkit/fileapi/file_system_path_manager_unittest.cc +++ b/webkit/fileapi/file_system_path_manager_unittest.cc @@ -165,8 +165,7 @@ class FileSystemPathManagerTest : public testing::Test { void SetUp() { data_dir_.reset(new ScopedTempDir); - data_dir_->CreateUniqueTempDir(); - ASSERT_TRUE(data_dir_->IsValid()); + ASSERT_TRUE(data_dir_->CreateUniqueTempDir()); root_path_callback_status_ = false; root_path_.clear(); file_system_name_.clear(); |