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

Unified Diff: chrome/browser/extensions/api/i18n/i18n_apitest.cc

Issue 18332014: Move Copy* into the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: windows Created 7 years, 5 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/browser/extensions/api/i18n/i18n_apitest.cc
diff --git a/chrome/browser/extensions/api/i18n/i18n_apitest.cc b/chrome/browser/extensions/api/i18n/i18n_apitest.cc
index 12c71421d3f56e722eb45e3b3c4a37d2821868dc..e6863f60ef6c69d1a46cb68029af750622950846 100644
--- a/chrome/browser/extensions/api/i18n/i18n_apitest.cc
+++ b/chrome/browser/extensions/api/i18n/i18n_apitest.cc
@@ -22,15 +22,15 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, I18NUpdate) {
// Create an Extension whose messages.json file will be updated.
base::ScopedTempDir extension_dir;
ASSERT_TRUE(extension_dir.CreateUniqueTempDir());
- file_util::CopyFile(
+ base::CopyFile(
test_data_dir_.AppendASCII("i18nUpdate")
.AppendASCII("manifest.json"),
extension_dir.path().AppendASCII("manifest.json"));
- file_util::CopyFile(
+ base::CopyFile(
test_data_dir_.AppendASCII("i18nUpdate")
.AppendASCII("contentscript.js"),
extension_dir.path().AppendASCII("contentscript.js"));
- file_util::CopyDirectory(
+ base::CopyDirectory(
test_data_dir_.AppendASCII("i18nUpdate")
.AppendASCII("_locales"),
extension_dir.path().AppendASCII("_locales"),
@@ -51,7 +51,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, I18NUpdate) {
EXPECT_EQ(std::string("FIRSTMESSAGE"), UTF16ToUTF8(title));
// Change messages.json file and reload extension.
- file_util::CopyFile(
+ base::CopyFile(
test_data_dir_.AppendASCII("i18nUpdate")
.AppendASCII("messages2.json"),
extension_dir.path().AppendASCII("_locales/en/messages.json"));

Powered by Google App Engine
This is Rietveld 408576698