summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-07 22:41:51 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-07 22:41:51 +0000
commitcf2ce2306a89387b1708eea172b2497e701a5bd8 (patch)
tree88330ca1ced83720a8b7a1c0ff6d5308d43555da /net/disk_cache/disk_cache_test_util.cc
parent285d2cfa97175a67080cd8c6dbd0ed73a7181f0f (diff)
downloadchromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.zip
chromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.tar.gz
chromium_src-cf2ce2306a89387b1708eea172b2497e701a5bd8.tar.bz2
Avoids the use of "namespace using-directives" in a few places.
BUG=None TEST=None Review URL: http://codereview.chromium.org/183008 Patch from tfarina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.cc')
-rw-r--r--net/disk_cache/disk_cache_test_util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index 74de170..24c3925 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -59,12 +59,11 @@ std::wstring GetCachePath() {
}
bool CreateCacheTestFile(const wchar_t* name) {
- using namespace disk_cache;
int flags = base::PLATFORM_FILE_CREATE_ALWAYS |
base::PLATFORM_FILE_READ |
base::PLATFORM_FILE_WRITE;
- scoped_refptr<File> file(new File(
+ scoped_refptr<disk_cache::File> file(new disk_cache::File(
base::CreatePlatformFile(name, flags, NULL)));
if (!file->IsValid())
return false;