diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 21:24:20 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 21:24:20 +0000 |
commit | 6a48fb51b8f5f627781177ec8af1cf1c56a03abe (patch) | |
tree | de891e2d1189c58be61101dd74a05d49b147c5f4 /chrome_frame | |
parent | 7c056098ec8854a56ad774e1e54b6b40923e5e8b (diff) | |
download | chromium_src-6a48fb51b8f5f627781177ec8af1cf1c56a03abe.zip chromium_src-6a48fb51b8f5f627781177ec8af1cf1c56a03abe.tar.gz chromium_src-6a48fb51b8f5f627781177ec8af1cf1c56a03abe.tar.bz2 |
Delete CopyRecursiveDirNoCache from test_file_util.
This function was used in only one place and the implementation was
copy-and-pasted. This replaces the call with a cross-platform implementation in
the one file that needs it.
This is a reland of r194664 which was a reland of r192940. This version does
not attempt to fix the startup test caching bugs I discovered when rewriting
the function. I filed bug 237904 for this.
BUG=
Review URL: https://codereview.chromium.org/14577009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/perf/chrome_frame_perftest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/test/perf/chrome_frame_perftest.cc b/chrome_frame/test/perf/chrome_frame_perftest.cc index 1b42455..dbced24 100644 --- a/chrome_frame/test/perf/chrome_frame_perftest.cc +++ b/chrome_frame/test/perf/chrome_frame_perftest.cc @@ -18,6 +18,7 @@ #include "base/process_util.h" #include "base/string_util.h" #include "base/stringprintf.h" +#include "base/test/test_file_util.h" #include "base/threading/platform_thread.h" #include "base/time.h" #include "base/utf_string_conversions.h" @@ -317,7 +318,7 @@ class ChromeFrameStartupTest : public ChromeFramePerfTestBase { if (test_cold) { for (int binary_index = 0; binary_index < total_binaries; binary_index++) { - bool result = EvictFileFromSystemCacheWrapper( + bool result = base::EvictFileFromSystemCacheWithRetry( binaries_to_evict[binary_index]); if (!ignore_cache_error) { ASSERT_TRUE(result); |