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

Unified Diff: chrome/common/chrome_constants.cc

Issue 267102: Better code to determine the framework and helper app paths (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/common/chrome_constants.cc
===================================================================
--- chrome/common/chrome_constants.cc (revision 28987)
+++ chrome/common/chrome_constants.cc (working copy)
@@ -36,19 +36,19 @@
#endif // OS_*
#if defined(OS_WIN)
const wchar_t kBrowserProcessExecutablePath[] = L"chrome.exe";
-const wchar_t kHelperProcessExecutablePath[] = L"chrome.exe";
+const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome.exe");
#elif defined(OS_LINUX)
const wchar_t kBrowserProcessExecutablePath[] = L"chrome";
-const wchar_t kHelperProcessExecutablePath[] = L"chrome";
+const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome");
#elif defined(OS_MACOSX)
const wchar_t kBrowserProcessExecutablePath[] =
PRODUCT_STRING_W L".app/Contents/MacOS/" PRODUCT_STRING_W;
-const wchar_t kHelperProcessExecutablePath[] =
- PRODUCT_STRING_W L" Helper.app/Contents/MacOS/" PRODUCT_STRING_W L" Helper";
+const FilePath::CharType kHelperProcessExecutablePath[] =
+ FPL(PRODUCT_STRING " Helper.app/Contents/MacOS/" PRODUCT_STRING " Helper");
#endif // OS_*
#if defined(OS_MACOSX)
const FilePath::CharType kFrameworkName[] =
- PRODUCT_STRING " Framework.framework";
+ FPL(PRODUCT_STRING " Framework.framework");
#endif // OS_MACOSX
#if defined(CHROME_FRAME_BUILD)
const wchar_t kBrowserAppName[] = L"ChromeFrame";

Powered by Google App Engine
This is Rietveld 408576698