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

Side by Side Diff: chrome/common/chrome_constants.cc

Issue 19547009: Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: todo 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/extensions/background_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_constants.h" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 #define FPL FILE_PATH_LITERAL 9 #define FPL FILE_PATH_LITERAL
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const base::FilePath::CharType kMetroDriverDll[] = FPL("metro_driver.dll"); 137 const base::FilePath::CharType kMetroDriverDll[] = FPL("metro_driver.dll");
138 const wchar_t kStatusTrayWindowClass[] = L"Chrome_StatusTrayWindow"; 138 const wchar_t kStatusTrayWindowClass[] = L"Chrome_StatusTrayWindow";
139 #endif // defined(OS_WIN) 139 #endif // defined(OS_WIN)
140 140
141 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; 141 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt";
142 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; 142 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll";
143 const char kInitialProfile[] = "Default"; 143 const char kInitialProfile[] = "Default";
144 const char kMultiProfileDirPrefix[] = "Profile "; 144 const char kMultiProfileDirPrefix[] = "Profile ";
145 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); 145 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile");
146 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; 146 const wchar_t kBrowserResourcesDll[] = L"chrome.dll";
147 const base::FilePath::CharType kExtensionFileExtension[] = FPL(".crx");
148 const base::FilePath::CharType kExtensionKeyFileExtension[] = FPL(".pem");
149 147
150 // filenames 148 // filenames
151 #if defined(OS_ANDROID) 149 #if defined(OS_ANDROID)
152 const base::FilePath::CharType kAndroidCacheFilename[] = FPL("AndroidCache"); 150 const base::FilePath::CharType kAndroidCacheFilename[] = FPL("AndroidCache");
153 #endif 151 #endif
154 const base::FilePath::CharType kArchivedHistoryFilename[] = 152 const base::FilePath::CharType kArchivedHistoryFilename[] =
155 FPL("Archived History"); 153 FPL("Archived History");
156 const base::FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); 154 const base::FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
157 const base::FilePath::CharType kCacheDirname[] = FPL("Cache"); 155 const base::FilePath::CharType kCacheDirname[] = FPL("Cache");
158 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies"); 156 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies");
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 const wchar_t kLaunchModeValue[] = L"launch_mode"; 249 const wchar_t kLaunchModeValue[] = L"launch_mode";
252 #endif 250 #endif
253 251
254 #if defined(OS_CHROMEOS) 252 #if defined(OS_CHROMEOS)
255 const char kProfileDirPrefix[] = "u-"; 253 const char kProfileDirPrefix[] = "u-";
256 #endif 254 #endif
257 255
258 } // namespace chrome 256 } // namespace chrome
259 257
260 #undef FPL 258 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/extensions/background_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698