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

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

Issue 347793002: Expand the JsonPrefStore's interface to allow for an alternate filename to be specified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont even attempt to delete the alternate file in unexpected situations. Created 6 years, 6 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') | no next file » | 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State"); 171 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State");
172 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool"); 172 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool");
173 const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); 173 const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data");
174 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = 174 const base::FilePath::CharType kSupervisedUserSettingsFilename[] =
175 FPL("Managed Mode Settings"); 175 FPL("Managed Mode Settings");
176 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); 176 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache");
177 const base::FilePath::CharType kNewTabThumbnailsFilename[] = 177 const base::FilePath::CharType kNewTabThumbnailsFilename[] =
178 FPL("Top Thumbnails"); 178 FPL("Top Thumbnails");
179 const base::FilePath::CharType kOBCertFilename[] = FPL("Origin Bound Certs"); 179 const base::FilePath::CharType kOBCertFilename[] = FPL("Origin Bound Certs");
180 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); 180 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
181 const base::FilePath::CharType kProtectedPreferencesFilename[] = 181 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] =
182 FPL("Protected Preferences"); 182 FPL("Protected Preferences");
183 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); 183 const base::FilePath::CharType kReadmeFilename[] = FPL("README");
184 const base::FilePath::CharType kResetPromptMementoFilename[] = 184 const base::FilePath::CharType kResetPromptMementoFilename[] =
185 FPL("Reset Prompt Memento"); 185 FPL("Reset Prompt Memento");
186 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = 186 const base::FilePath::CharType kSafeBrowsingBaseFilename[] =
187 FPL("Safe Browsing"); 187 FPL("Safe Browsing");
188 const base::FilePath::CharType kSecurePreferencesFilename[] =
189 FPL("Secure Preferences");
188 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); 190 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State");
189 const base::FilePath::CharType kShortcutsDatabaseName[] = FPL("Shortcuts"); 191 const base::FilePath::CharType kShortcutsDatabaseName[] = FPL("Shortcuts");
190 const base::FilePath::CharType kSingletonCookieFilename[] = 192 const base::FilePath::CharType kSingletonCookieFilename[] =
191 FPL("SingletonCookie"); 193 FPL("SingletonCookie");
192 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); 194 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock");
193 const base::FilePath::CharType kSingletonSocketFilename[] = 195 const base::FilePath::CharType kSingletonSocketFilename[] =
194 FPL("SingletonSocket"); 196 FPL("SingletonSocket");
195 const base::FilePath::CharType kSyncCredentialsFilename[] = 197 const base::FilePath::CharType kSyncCredentialsFilename[] =
196 FPL("Sync Credentials"); 198 FPL("Sync Credentials");
197 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); 199 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak");
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 const char kApplicationClientIDStringForAVScanning[] = 270 const char kApplicationClientIDStringForAVScanning[] =
269 "2676A9A2-D919-4FEE-9187-152100393AB2"; 271 "2676A9A2-D919-4FEE-9187-152100393AB2";
270 272
271 #if defined(OS_ANDROID) 273 #if defined(OS_ANDROID)
272 const size_t kMaxMetaTagAttributeLength = 2000; 274 const size_t kMaxMetaTagAttributeLength = 2000;
273 #endif 275 #endif
274 276
275 } // namespace chrome 277 } // namespace chrome
276 278
277 #undef FPL 279 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698