OLD | NEW |
---|---|
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/file_path.h" | 7 #include "base/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); | 79 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); |
80 const FilePath::CharType kCacheDirname[] = FPL("Cache"); | 80 const FilePath::CharType kCacheDirname[] = FPL("Cache"); |
81 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); | 81 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); |
82 const FilePath::CharType kOffTheRecordMediaCacheDirname[] = | 82 const FilePath::CharType kOffTheRecordMediaCacheDirname[] = |
83 FPL("Incognito Media Cache"); | 83 FPL("Incognito Media Cache"); |
84 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache"); | 84 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache"); |
85 const FilePath::CharType kChromePluginDataDirname[] = FPL("Plugin Data"); | 85 const FilePath::CharType kChromePluginDataDirname[] = FPL("Plugin Data"); |
86 const FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); | 86 const FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); |
87 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); | 87 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); |
88 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies"); | 88 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies"); |
89 // TODO(creis): Decide on the correct location for isolated app cookies and | |
90 // other storage. | |
Charlie Reis
2011/03/01 21:33:11
I've updated this to be an "Isolated Apps" directo
| |
91 const FilePath::CharType kAppStorageDirname[] = FPL("App Storage"); | |
92 const FilePath::CharType kAppCookiesFileExtension[] = FPL(".cookies"); | |
89 const FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); | 93 const FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); |
90 const FilePath::CharType kHistoryFilename[] = FPL("History"); | 94 const FilePath::CharType kHistoryFilename[] = FPL("History"); |
91 const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); | 95 const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); |
92 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); | 96 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); |
93 const FilePath::CharType kSafeBrowsingBaseFilename[] = FPL("Safe Browsing"); | 97 const FilePath::CharType kSafeBrowsingBaseFilename[] = FPL("Safe Browsing"); |
94 const FilePath::CharType kSafeBrowsingPhishingModelFilename[] = | 98 const FilePath::CharType kSafeBrowsingPhishingModelFilename[] = |
95 FPL("Safe Browsing Phishing Model"); | 99 FPL("Safe Browsing Phishing Model"); |
96 const FilePath::CharType kSingletonCookieFilename[] = FPL("SingletonCookie"); | 100 const FilePath::CharType kSingletonCookieFilename[] = FPL("SingletonCookie"); |
97 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); | 101 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); |
98 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); | 102 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 | 137 |
134 const int kHistogramSynchronizerReservedSequenceNumber = 0; | 138 const int kHistogramSynchronizerReservedSequenceNumber = 0; |
135 | 139 |
136 const int kMaxSessionHistoryEntries = 50; | 140 const int kMaxSessionHistoryEntries = 50; |
137 | 141 |
138 const char* const kUnknownLanguageCode = "und"; | 142 const char* const kUnknownLanguageCode = "und"; |
139 | 143 |
140 } // namespace chrome | 144 } // namespace chrome |
141 | 145 |
142 #undef FPL | 146 #undef FPL |
OLD | NEW |