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

Unified Diff: chrome/browser/spellchecker/spellcheck_custom_dictionary.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
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
index c3d248446164a9233d6ff472b2d66e781aec5d8a..cc3db9a1a693103a4a346e300d957096e5c99bea 100644
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
@@ -102,7 +102,7 @@ void LoadDictionaryFileReliably(WordList& custom_words,
if (LoadFile(backup, custom_words) != VALID_CHECKSUM)
return;
// Backup checksum is valid. Restore the backup.
- file_util::CopyFile(backup, path);
+ base::CopyFile(backup, path);
}
// Backs up the original dictionary, saves |custom_words| and its checksum into
@@ -119,7 +119,7 @@ void SaveDictionaryFileReliably(
}
std::string checksum = base::MD5String(content.str());
content << CHECKSUM_PREFIX << checksum;
- file_util::CopyFile(path, path.AddExtension(BACKUP_EXTENSION));
+ base::CopyFile(path, path.AddExtension(BACKUP_EXTENSION));
base::ImportantFileWriter::WriteFileAtomically(path, content.str());
}
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698