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

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

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: 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
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 // A handful of resource-like constants related to the Chrome application. 5 // A handful of resource-like constants related to the Chrome application.
6 6
7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_
8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 extern const base::FilePath::CharType kHistoryFilename[]; 69 extern const base::FilePath::CharType kHistoryFilename[];
70 extern const base::FilePath::CharType kJumpListIconDirname[]; 70 extern const base::FilePath::CharType kJumpListIconDirname[];
71 extern const base::FilePath::CharType kLocalStateFilename[]; 71 extern const base::FilePath::CharType kLocalStateFilename[];
72 extern const base::FilePath::CharType kLocalStorePoolName[]; 72 extern const base::FilePath::CharType kLocalStorePoolName[];
73 extern const base::FilePath::CharType kLoginDataFileName[]; 73 extern const base::FilePath::CharType kLoginDataFileName[];
74 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[]; 74 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[];
75 extern const base::FilePath::CharType kMediaCacheDirname[]; 75 extern const base::FilePath::CharType kMediaCacheDirname[];
76 extern const base::FilePath::CharType kNewTabThumbnailsFilename[]; 76 extern const base::FilePath::CharType kNewTabThumbnailsFilename[];
77 extern const base::FilePath::CharType kOBCertFilename[]; 77 extern const base::FilePath::CharType kOBCertFilename[];
78 extern const base::FilePath::CharType kPreferencesFilename[]; 78 extern const base::FilePath::CharType kPreferencesFilename[];
79 extern const base::FilePath::CharType kProtectedPreferencesFilename[]; 79 extern const base::FilePath::CharType kDeprecatedProtectedPreferencesFilename[];
80 extern const base::FilePath::CharType kSecurePreferencesFilename[];
Bernhard Bauer 2014/06/19 15:38:09 Move this down so the constants stay in alphabetic
gab 2014/06/19 16:03:52 I debated that, but I opted to have them side-by-s
sky 2014/06/19 16:03:58 +1
Bernhard Bauer 2014/06/19 17:20:20 I do prefer alphabetic. The kSupervisedUserSettin
gab 2014/06/19 17:50:10 Done (and changed kDeprecatedProtectedPreferencesF
80 extern const base::FilePath::CharType kReadmeFilename[]; 81 extern const base::FilePath::CharType kReadmeFilename[];
81 extern const base::FilePath::CharType kResetPromptMementoFilename[]; 82 extern const base::FilePath::CharType kResetPromptMementoFilename[];
82 extern const base::FilePath::CharType kSafeBrowsingBaseFilename[]; 83 extern const base::FilePath::CharType kSafeBrowsingBaseFilename[];
83 extern const base::FilePath::CharType kServiceStateFileName[]; 84 extern const base::FilePath::CharType kServiceStateFileName[];
84 extern const base::FilePath::CharType kShortcutsDatabaseName[]; 85 extern const base::FilePath::CharType kShortcutsDatabaseName[];
85 extern const base::FilePath::CharType kSingletonCookieFilename[]; 86 extern const base::FilePath::CharType kSingletonCookieFilename[];
86 extern const base::FilePath::CharType kSingletonLockFilename[]; 87 extern const base::FilePath::CharType kSingletonLockFilename[];
87 extern const base::FilePath::CharType kSingletonSocketFilename[]; 88 extern const base::FilePath::CharType kSingletonSocketFilename[];
88 extern const base::FilePath::CharType kSyncCredentialsFilename[]; 89 extern const base::FilePath::CharType kSyncCredentialsFilename[];
89 extern const base::FilePath::CharType kThemePackFilename[]; 90 extern const base::FilePath::CharType kThemePackFilename[];
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 extern const char kApplicationClientIDStringForAVScanning[]; 160 extern const char kApplicationClientIDStringForAVScanning[];
160 161
161 #if defined(OS_ANDROID) 162 #if defined(OS_ANDROID)
162 // The largest reasonable length we'd assume for a meta tag attribute. 163 // The largest reasonable length we'd assume for a meta tag attribute.
163 extern const size_t kMaxMetaTagAttributeLength; 164 extern const size_t kMaxMetaTagAttributeLength;
164 #endif 165 #endif
165 166
166 } // namespace chrome 167 } // namespace chrome
167 168
168 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 169 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698