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

Unified Diff: ui/base/resource/resource_bundle_mac.mm

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « ui/base/resource/resource_bundle_ios.mm ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_mac.mm
diff --git a/ui/base/resource/resource_bundle_mac.mm b/ui/base/resource/resource_bundle_mac.mm
index fd9a2cbfdf1ab954ba1e8b7ae4e20ffe7abb4e54..39c52d9df9a655856e2ce12f4ab70dc87558a909 100644
--- a/ui/base/resource/resource_bundle_mac.mm
+++ b/ui/base/resource/resource_bundle_mac.mm
@@ -22,7 +22,7 @@ namespace ui {
namespace {
-FilePath GetResourcesPakFilePath(NSString* name, NSString* mac_locale) {
+base::FilePath GetResourcesPakFilePath(NSString* name, NSString* mac_locale) {
NSString *resource_path;
// Some of the helper processes need to be able to fetch resources
// (chrome_main.cc: SubprocessNeedsResourceBundle()). Fetch the same locale
@@ -66,8 +66,8 @@ void ResourceBundle::LoadCommonResources() {
}
}
-FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale,
- bool test_file_exists) {
+base::FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale,
+ bool test_file_exists) {
NSString* mac_locale = base::SysUTF8ToNSString(app_locale);
// Mac OS X uses "_" instead of "-", so swap to get a Mac-style value.
« no previous file with comments | « ui/base/resource/resource_bundle_ios.mm ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698