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

Unified Diff: chrome/common/chrome_paths_mac.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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/common/chrome_paths.cc ('k') | chrome/common/font_loader_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths_mac.mm
===================================================================
--- chrome/common/chrome_paths_mac.mm (revision 70358)
+++ chrome/common/chrome_paths_mac.mm (working copy)
@@ -8,7 +8,7 @@
#include "base/base_paths.h"
#include "base/logging.h"
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "base/path_service.h"
#include "chrome/common/chrome_constants.h"
@@ -45,7 +45,7 @@
}
bool GetUserDocumentsDirectory(FilePath* result) {
- return mac_util::GetUserDirectory(NSDocumentDirectory, result);
+ return base::mac::GetUserDirectory(NSDocumentDirectory, result);
}
void GetUserCacheDirectory(const FilePath& profile_dir, FilePath* result) {
@@ -71,11 +71,11 @@
}
bool GetUserDownloadsDirectory(FilePath* result) {
- return mac_util::GetUserDirectory(NSDownloadsDirectory, result);
+ return base::mac::GetUserDirectory(NSDownloadsDirectory, result);
}
bool GetUserDesktop(FilePath* result) {
- return mac_util::GetUserDirectory(NSDesktopDirectory, result);
+ return base::mac::GetUserDirectory(NSDesktopDirectory, result);
}
FilePath GetVersionedDirectory() {
@@ -90,7 +90,7 @@
path = path.DirName().DirName();
DCHECK_EQ(path.BaseName().value(), "Contents");
- if (mac_util::IsBackgroundOnlyProcess()) {
+ if (base::mac::IsBackgroundOnlyProcess()) {
// path identifies the helper .app's Contents directory in the browser
// .app's versioned directory. Go up two steps to get to the browser
// .app's versioned directory.
@@ -128,7 +128,7 @@
}
bool GetLocalLibraryDirectory(FilePath* result) {
- return mac_util::GetLocalDirectory(NSLibraryDirectory, result);
+ return base::mac::GetLocalDirectory(NSLibraryDirectory, result);
}
} // namespace chrome
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | chrome/common/font_loader_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698