summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_info_unittest.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 02:17:08 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 02:17:08 +0000
commitf214f8797150f49e1233110c1dafe4e8b601d9ea (patch)
tree191f4f5b9ee1d9c20fc02dd4f1c940ad4d04267c /chrome/browser/net/url_info_unittest.cc
parent34b9963c187a733bef76535521f3de688fffd34f (diff)
downloadchromium_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/browser/net/url_info_unittest.cc')
-rw-r--r--chrome/browser/net/url_info_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/net/url_info_unittest.cc b/chrome/browser/net/url_info_unittest.cc
index ea7d619..870ad7e 100644
--- a/chrome/browser/net/url_info_unittest.cc
+++ b/chrome/browser/net/url_info_unittest.cc
@@ -7,7 +7,7 @@
#include <time.h>
#include <string>
-#include "base/platform_thread.h"
+#include "base/threading/platform_thread.h"
#include "base/time.h"
#include "chrome/browser/net/url_info.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -67,7 +67,7 @@ TEST(UrlHostInfoTest, StateChangeTest) {
info.SetAssignedState();
EXPECT_FALSE(info.NeedsDnsUpdate());
// Greater than minimal expected network latency on DNS lookup.
- PlatformThread::Sleep(25);
+ base::PlatformThread::Sleep(25);
before_resolution_complete = TimeTicks::Now();
info.SetNoSuchNameState();
// "Immediately" check to see if we need an update yet (we shouldn't).
@@ -78,7 +78,7 @@ TEST(UrlHostInfoTest, StateChangeTest) {
return;
}
// Wait over 300ms, so it should definately be considered out of cache.
- PlatformThread::Sleep(kMockExpirationTime + 20);
+ base::PlatformThread::Sleep(kMockExpirationTime + 20);
EXPECT_TRUE(info.NeedsDnsUpdate()) << "expiration time not honored";
}