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 14 matching lines...) Expand all Loading... |
25 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; | 25 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; |
26 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; | 26 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; |
27 const wchar_t kNotSignedInProfile[] = L"Default"; | 27 const wchar_t kNotSignedInProfile[] = L"Default"; |
28 const wchar_t kNotSignedInID[] = L"not-signed-in"; | 28 const wchar_t kNotSignedInID[] = L"not-signed-in"; |
29 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; | 29 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; |
30 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); | 30 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); |
31 | 31 |
32 // filenames | 32 // filenames |
33 const wchar_t kArchivedHistoryFilename[] = L"Archived History"; | 33 const wchar_t kArchivedHistoryFilename[] = L"Archived History"; |
34 const FilePath::CharType kCacheDirname[] = FPL("Cache"); | 34 const FilePath::CharType kCacheDirname[] = FPL("Cache"); |
| 35 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); |
| 36 const FilePath::CharType kOffTheRecordMediaCacheDirname[] = |
| 37 FPL("Incognito Media Cache"); |
35 const wchar_t kChromePluginDataDirname[] = L"Plugin Data"; | 38 const wchar_t kChromePluginDataDirname[] = L"Plugin Data"; |
36 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); | 39 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); |
37 const FilePath::CharType kHistoryFilename[] = FPL("History"); | 40 const FilePath::CharType kHistoryFilename[] = FPL("History"); |
38 const wchar_t kLocalStateFilename[] = L"Local State"; | 41 const wchar_t kLocalStateFilename[] = L"Local State"; |
39 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); | 42 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); |
40 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); | 43 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); |
41 const wchar_t kThumbnailsFilename[] = L"Thumbnails"; | 44 const wchar_t kThumbnailsFilename[] = L"Thumbnails"; |
42 const wchar_t kUserDataDirname[] = L"User Data"; | 45 const wchar_t kUserDataDirname[] = L"User Data"; |
43 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); | 46 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); |
44 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); | 47 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); |
(...skipping 13 matching lines...) Expand all Loading... |
58 // knowing it. Enable in debug builds. Playback mode is allowed always, | 61 // knowing it. Enable in debug builds. Playback mode is allowed always, |
59 // because it is useful for testing and not hazardous by itself. | 62 // because it is useful for testing and not hazardous by itself. |
60 #ifndef NDEBUG | 63 #ifndef NDEBUG |
61 const bool kRecordModeEnabled = true; | 64 const bool kRecordModeEnabled = true; |
62 #else | 65 #else |
63 const bool kRecordModeEnabled = false; | 66 const bool kRecordModeEnabled = false; |
64 #endif | 67 #endif |
65 | 68 |
66 } // namespace chrome | 69 } // namespace chrome |
67 | 70 |
OLD | NEW |