Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "chrome/common/chrome_version.h" | 8 #include "chrome/common/chrome_version.h" |
| 9 | 9 |
| 10 #define FPL FILE_PATH_LITERAL | 10 #define FPL FILE_PATH_LITERAL |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); | 149 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); |
| 150 const base::FilePath::CharType kNetworkPersistentStateFilename[] = | 150 const base::FilePath::CharType kNetworkPersistentStateFilename[] = |
| 151 FPL("Network Persistent State"); | 151 FPL("Network Persistent State"); |
| 152 const base::FilePath::CharType kOfflinePageArchivesDirname[] = | 152 const base::FilePath::CharType kOfflinePageArchivesDirname[] = |
| 153 FPL("Offline Pages/archives"); | 153 FPL("Offline Pages/archives"); |
| 154 const base::FilePath::CharType kOfflinePageMetadataDirname[] = | 154 const base::FilePath::CharType kOfflinePageMetadataDirname[] = |
| 155 FPL("Offline Pages/metadata"); | 155 FPL("Offline Pages/metadata"); |
| 156 const base::FilePath::CharType kOfflinePageRequestQueueDirname[] = | 156 const base::FilePath::CharType kOfflinePageRequestQueueDirname[] = |
| 157 FPL("Offline Pages/request_queue"); | 157 FPL("Offline Pages/request_queue"); |
| 158 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); | 158 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); |
| 159 const base::FilePath::CharType kPreviewsOptOutDirname[] = | |
| 160 FPL("Previews/opt_out"); | |
|
Scott Hess - ex-Googler
2016/10/06 17:24:27
Why a directory rather than a file?
RyanSturm
2016/10/06 20:05:39
I was copying the Offline Page metadata approach,
Scott Hess - ex-Googler
2016/10/07 00:08:45
In that case ... I'll also question your use of kP
RyanSturm
2016/10/07 20:07:05
sgtm.
| |
| 159 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] = | 161 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] = |
| 160 FPL("Protected Preferences"); | 162 FPL("Protected Preferences"); |
| 161 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); | 163 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); |
| 162 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = | 164 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = |
| 163 FPL("Safe Browsing"); | 165 FPL("Safe Browsing"); |
| 164 const base::FilePath::CharType kSecurePreferencesFilename[] = | 166 const base::FilePath::CharType kSecurePreferencesFilename[] = |
| 165 FPL("Secure Preferences"); | 167 FPL("Secure Preferences"); |
| 166 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); | 168 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); |
| 167 const base::FilePath::CharType kSingletonCookieFilename[] = | 169 const base::FilePath::CharType kSingletonCookieFilename[] = |
| 168 FPL("SingletonCookie"); | 170 FPL("SingletonCookie"); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 // user can select for different file types. | 214 // user can select for different file types. |
| 213 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 215 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
| 214 const char kApplicationClientIDStringForAVScanning[] = | 216 const char kApplicationClientIDStringForAVScanning[] = |
| 215 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 217 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
| 216 | 218 |
| 217 const size_t kMaxMetaTagAttributeLength = 2000; | 219 const size_t kMaxMetaTagAttributeLength = 2000; |
| 218 | 220 |
| 219 } // namespace chrome | 221 } // namespace chrome |
| 220 | 222 |
| 221 #undef FPL | 223 #undef FPL |
| OLD | NEW |