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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

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/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index 2743f32b2f0e9fa3abeaa139dbb5c66739c99b8b..354eaeca8e52048b131320782ff678bada40ecdc 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -269,7 +269,7 @@ bool WebAppShortcutCreator::BuildShortcut(
const base::FilePath& staging_path) const {
// Update the app's plist and icon in a temp directory. This works around
// a Finder bug where the app's icon doesn't properly update.
- if (!file_util::CopyDirectory(GetAppLoaderPath(), staging_path, true)) {
+ if (!base::CopyDirectory(GetAppLoaderPath(), staging_path, true)) {
LOG(ERROR) << "Copying app to staging path: " << staging_path.value()
<< " failed.";
return false;
@@ -304,7 +304,7 @@ size_t WebAppShortcutCreator::CreateShortcutsIn(
for (std::vector<base::FilePath>::const_iterator it = folders.begin();
it != folders.end(); ++it) {
const base::FilePath& dst_path = *it;
- if (!file_util::CopyDirectory(staging_path, dst_path, true)) {
+ if (!base::CopyDirectory(staging_path, dst_path, true)) {
LOG(ERROR) << "Copying app to dst path: " << dst_path.value()
<< " failed";
return succeeded;
« no previous file with comments | « chrome/browser/value_store/value_store_frontend_unittest.cc ('k') | chrome/common/extensions/unpacker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698