summaryrefslogtreecommitdiffstats
path: root/content/test
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 18:22:49 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 18:22:49 +0000
commit5628570f1bef7e3fd152bcff189fc13d3fbf5c9b (patch)
tree78d671a554a5a96290019e36f15baefe050e4732 /content/test
parent1c6d40496ad8946c6cea837945e15bb663e8180b (diff)
downloadchromium_src-5628570f1bef7e3fd152bcff189fc13d3fbf5c9b.zip
chromium_src-5628570f1bef7e3fd152bcff189fc13d3fbf5c9b.tar.gz
chromium_src-5628570f1bef7e3fd152bcff189fc13d3fbf5c9b.tar.bz2
Move GetFileSize, NormalizeFilePath to base namespace
BUG= R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/102873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test')
-rw-r--r--content/test/image_decoder_test.cc2
-rw-r--r--content/test/weburl_loader_mock_factory.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/test/image_decoder_test.cc b/content/test/image_decoder_test.cc
index 13b3608..351d491 100644
--- a/content/test/image_decoder_test.cc
+++ b/content/test/image_decoder_test.cc
@@ -31,7 +31,7 @@ bool ShouldSkipFile(const base::FilePath& path,
return false;
int64 image_size = 0;
- file_util::GetFileSize(path, &image_size);
+ base::GetFileSize(path, &image_size);
return (file_selection == TEST_SMALLER) == (image_size > threshold);
}
diff --git a/content/test/weburl_loader_mock_factory.cc b/content/test/weburl_loader_mock_factory.cc
index 791ae1e..38a9d50 100644
--- a/content/test/weburl_loader_mock_factory.cc
+++ b/content/test/weburl_loader_mock_factory.cc
@@ -176,7 +176,7 @@ bool WebURLLoaderMockFactory::IsPending(WebURLLoaderMock* loader) {
bool WebURLLoaderMockFactory::ReadFile(const base::FilePath& file_path,
WebData* data) {
int64 file_size = 0;
- if (!file_util::GetFileSize(file_path, &file_size))
+ if (!base::GetFileSize(file_path, &file_size))
return false;
int size = static_cast<int>(file_size);