From 5628570f1bef7e3fd152bcff189fc13d3fbf5c9b Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Wed, 4 Dec 2013 18:22:49 +0000 Subject: 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 --- content/test/image_decoder_test.cc | 2 +- content/test/weburl_loader_mock_factory.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'content/test') 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(file_size); -- cgit v1.1