diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-01 02:17:08 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-01 02:17:08 +0000 |
commit | f214f8797150f49e1233110c1dafe4e8b601d9ea (patch) | |
tree | 191f4f5b9ee1d9c20fc02dd4f1c940ad4d04267c /chrome/installer | |
parent | 34b9963c187a733bef76535521f3de688fffd34f (diff) | |
download | chromium_src-f214f8797150f49e1233110c1dafe4e8b601d9ea.zip chromium_src-f214f8797150f49e1233110c1dafe4e8b601d9ea.tar.gz chromium_src-f214f8797150f49e1233110c1dafe4e8b601d9ea.tar.bz2 |
Remove base/platform_thread.h stub and fix up all callers to use the new location and namespace.
TEST=none
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/copy_tree_work_item_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/copy_tree_work_item_unittest.cc b/chrome/installer/util/copy_tree_work_item_unittest.cc index 269d2fe..9314799 100644 --- a/chrome/installer/util/copy_tree_work_item_unittest.cc +++ b/chrome/installer/util/copy_tree_work_item_unittest.cc @@ -10,10 +10,10 @@ #include "base/file_util.h" #include "base/logging.h" #include "base/path_service.h" -#include "base/platform_thread.h" #include "base/process_util.h" #include "base/scoped_ptr.h" #include "base/string_util.h" +#include "base/threading/platform_thread.h" #include "chrome/installer/util/work_item.h" #include "chrome/installer/util/copy_tree_work_item.h" #include "testing/gtest/include/gtest/gtest.h" @@ -478,7 +478,7 @@ TEST_F(CopyTreeWorkItemTest, NewNameAndCopyTest) { temp_dir_.ToWStringHack(), WorkItem::NEW_NAME_IF_IN_USE, alternate_to.ToWStringHack())); if (IsFileInUse(file_name_to)) - PlatformThread::Sleep(2000); + base::PlatformThread::Sleep(2000); // If file is still in use, the rest of the test will fail. ASSERT_FALSE(IsFileInUse(file_name_to)); EXPECT_TRUE(work_item->Do()); |