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

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

Issue 1371593002: Move password manager file names into components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyrights Created 5 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | components/password_manager.gypi » ('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"
8
9 #define FPL FILE_PATH_LITERAL 7 #define FPL FILE_PATH_LITERAL
10 8
11 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
12 #define CHROMIUM_PRODUCT_STRING "Chromium" 10 #define CHROMIUM_PRODUCT_STRING "Chromium"
13 #if defined(GOOGLE_CHROME_BUILD) 11 #if defined(GOOGLE_CHROME_BUILD)
14 #define PRODUCT_STRING "Google Chrome" 12 #define PRODUCT_STRING "Google Chrome"
15 #elif defined(CHROMIUM_BUILD) 13 #elif defined(CHROMIUM_BUILD)
16 #define PRODUCT_STRING "Chromium" 14 #define PRODUCT_STRING "Chromium"
17 #else 15 #else
18 #error Unknown branding 16 #error Unknown branding
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const base::FilePath::CharType kStatusTrayWindowClass[] = 123 const base::FilePath::CharType kStatusTrayWindowClass[] =
126 FPL("Chrome_StatusTrayWindow"); 124 FPL("Chrome_StatusTrayWindow");
127 #endif // defined(OS_WIN) 125 #endif // defined(OS_WIN)
128 126
129 const char kInitialProfile[] = "Default"; 127 const char kInitialProfile[] = "Default";
130 const char kMultiProfileDirPrefix[] = "Profile "; 128 const char kMultiProfileDirPrefix[] = "Profile ";
131 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); 129 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile");
132 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); 130 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile");
133 131
134 // filenames 132 // filenames
135 const base::FilePath::CharType kAffiliationDatabaseFileName[] =
136 FPL("Affiliation Database");
137 const base::FilePath::CharType kCacheDirname[] = FPL("Cache"); 133 const base::FilePath::CharType kCacheDirname[] = FPL("Cache");
138 const base::FilePath::CharType kChannelIDFilename[] = FPL("Origin Bound Certs"); 134 const base::FilePath::CharType kChannelIDFilename[] = FPL("Origin Bound Certs");
139 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies"); 135 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies");
140 const base::FilePath::CharType kCRLSetFilename[] = 136 const base::FilePath::CharType kCRLSetFilename[] =
141 FPL("Certificate Revocation Lists"); 137 FPL("Certificate Revocation Lists");
142 const base::FilePath::CharType kCustomDictionaryFileName[] = 138 const base::FilePath::CharType kCustomDictionaryFileName[] =
143 FPL("Custom Dictionary.txt"); 139 FPL("Custom Dictionary.txt");
144 const base::FilePath::CharType kExtensionActivityLogFilename[] = 140 const base::FilePath::CharType kExtensionActivityLogFilename[] =
145 FPL("Extension Activity"); 141 FPL("Extension Activity");
146 const base::FilePath::CharType kExtensionsCookieFilename[] = 142 const base::FilePath::CharType kExtensionsCookieFilename[] =
147 FPL("Extension Cookies"); 143 FPL("Extension Cookies");
148 const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run"); 144 const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run");
149 const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store"); 145 const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store");
150 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State"); 146 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State");
151 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool"); 147 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool");
152 const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data");
153 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); 148 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache");
154 const base::FilePath::CharType kNetworkPersistentStateFilename[] = 149 const base::FilePath::CharType kNetworkPersistentStateFilename[] =
155 FPL("Network Persistent State"); 150 FPL("Network Persistent State");
156 const base::FilePath::CharType kOfflinePageMetadataDirname[] = 151 const base::FilePath::CharType kOfflinePageMetadataDirname[] =
157 FPL("Offline Pages"); 152 FPL("Offline Pages");
158 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); 153 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
159 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] = 154 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] =
160 FPL("Protected Preferences"); 155 FPL("Protected Preferences");
161 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); 156 const base::FilePath::CharType kReadmeFilename[] = FPL("README");
162 const base::FilePath::CharType kResetPromptMementoFilename[] = 157 const base::FilePath::CharType kResetPromptMementoFilename[] =
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // user can select for different file types. 225 // user can select for different file types.
231 // {2676A9A2-D919-4FEE-9187-152100393AB2} 226 // {2676A9A2-D919-4FEE-9187-152100393AB2}
232 const char kApplicationClientIDStringForAVScanning[] = 227 const char kApplicationClientIDStringForAVScanning[] =
233 "2676A9A2-D919-4FEE-9187-152100393AB2"; 228 "2676A9A2-D919-4FEE-9187-152100393AB2";
234 229
235 const size_t kMaxMetaTagAttributeLength = 2000; 230 const size_t kMaxMetaTagAttributeLength = 2000;
236 231
237 } // namespace chrome 232 } // namespace chrome
238 233
239 #undef FPL 234 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | components/password_manager.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698