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

Unified Diff: chrome/common/chrome_paths.cc

Issue 12230014: Assign FILE_PATH_LITERALS to FilePath::CharType[] arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « chrome/browser/google/google_util_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths.cc
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index baada98f3ae8421ea56dda17e8475d136c359fc9..929611d37389f51717c20ca8eb13c1e48b46537d 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -84,7 +84,7 @@ const base::FilePath::CharType kGTalkPluginFileName[] =
#if defined(OS_LINUX)
// The path to the external extension <id>.json files.
// /usr/share seems like a good choice, see: http://www.pathname.com/fhs/
-const char kFilepathSinglePrefExtensions[] =
+const base::FilePath::CharType kFilepathSinglePrefExtensions[] =
#if defined(GOOGLE_CHROME_BUILD)
FILE_PATH_LITERAL("/usr/share/google-chrome/extensions");
#else
@@ -93,7 +93,7 @@ const char kFilepathSinglePrefExtensions[] =
#endif // defined(OS_LINUX)
#if defined(OS_CHROMEOS)
-const char kDefaultAppOrderFileName[] =
+const base::FilePath::CharType kDefaultAppOrderFileName[] =
#if defined(GOOGLE_CHROME_BUILD)
FILE_PATH_LITERAL("/usr/share/google-chrome/default_app_order.json");
#else
@@ -403,7 +403,7 @@ bool PathProvider(int key, base::FilePath* result) {
cur = cur.Append(FILE_PATH_LITERAL("custom_wallpapers"));
break;
case chrome::FILE_DEFAULT_APP_ORDER:
- cur = base::FilePath(FILE_PATH_LITERAL(kDefaultAppOrderFileName));
+ cur = base::FilePath(kDefaultAppOrderFileName);
break;
#endif
// The following are only valid in the development environment, and
@@ -468,7 +468,7 @@ bool PathProvider(int key, base::FilePath* result) {
#endif
#if defined(OS_LINUX)
case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: {
- cur = base::FilePath(FILE_PATH_LITERAL(kFilepathSinglePrefExtensions));
+ cur = base::FilePath(kFilepathSinglePrefExtensions);
break;
}
#endif
« no previous file with comments | « chrome/browser/google/google_util_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698