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

Unified Diff: chrome/browser/extensions/convert_user_script.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/browser/extensions/convert_user_script.cc
diff --git a/chrome/browser/extensions/convert_user_script.cc b/chrome/browser/extensions/convert_user_script.cc
index e823819db0d08dd0b48136fad0612c96bef17c01..104655fb1f7608fd3fba02a2fd7f209227ab1c8e 100644
--- a/chrome/browser/extensions/convert_user_script.cc
+++ b/chrome/browser/extensions/convert_user_script.cc
@@ -164,7 +164,7 @@ scoped_refptr<Extension> ConvertUserScriptToExtension(
}
// Write the script file.
- if (!file_util::CopyFile(user_script_path,
+ if (!base::CopyFile(user_script_path,
temp_dir.path().AppendASCII("script.js"))) {
*error = ASCIIToUTF16("Could not copy script file.");
return NULL;

Powered by Google App Engine
This is Rietveld 408576698