Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: chrome/test/perf/perf_ui_test_suite.cc

Issue 18332014: Move Copy* into the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/perf/perf_ui_test_suite.cc
diff --git a/chrome/test/perf/perf_ui_test_suite.cc b/chrome/test/perf/perf_ui_test_suite.cc
index 1a3c641db73e6c00cdc4de56ea06893b4ae4a73a..dcea0d0892f4b66c263306b1547e22552a0fd7cc 100644
--- a/chrome/test/perf/perf_ui_test_suite.cc
+++ b/chrome/test/perf/perf_ui_test_suite.cc
@@ -101,7 +101,7 @@ void PerfUITestSuite::Initialize() {
LOG(FATAL) << "Failed to create complex profile directory...";
}
- if (!file_util::CopyDirectory(default_path,
+ if (!base::CopyDirectory(default_path,
complex_profile_dir_.path(),
true)) {
LOG(FATAL) << "Failed to copy data to complex profile directory...";
@@ -117,11 +117,8 @@ void PerfUITestSuite::Initialize() {
base_data_dir = base_data_dir.AppendASCII("profile_with_complex_theme");
base_data_dir = base_data_dir.AppendASCII("Default");
- if (!file_util::CopyDirectory(base_data_dir,
- complex_profile_dir_.path(),
- true)) {
+ if (!base::CopyDirectory(base_data_dir, complex_profile_dir_.path(), true))
LOG(FATAL) << "Failed to copy default to complex profile";
- }
// Parse the manifest and make a temporary extension object because the
// theme system takes extensions as input.

Powered by Google App Engine
This is Rietveld 408576698