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

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

Issue 499004: Try 2: Completely redo how themes are stored on disk and processed at install time. (Closed)
Patch Set: Created 11 years 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
OLDNEW
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); 77 const FilePath::CharType kExtensionFileExtension[] = FPL("crx");
78 78
79 // filenames 79 // filenames
80 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); 80 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History");
81 const FilePath::CharType kCacheDirname[] = FPL("Cache"); 81 const FilePath::CharType kCacheDirname[] = FPL("Cache");
82 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); 82 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache");
83 const FilePath::CharType kOffTheRecordMediaCacheDirname[] = 83 const FilePath::CharType kOffTheRecordMediaCacheDirname[] =
84 FPL("Incognito Media Cache"); 84 FPL("Incognito Media Cache");
85 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache"); 85 const FilePath::CharType kAppCacheDirname[] = FPL("Application Cache");
86 const wchar_t kChromePluginDataDirname[] = L"Plugin Data"; 86 const wchar_t kChromePluginDataDirname[] = L"Plugin Data";
87 const FilePath::CharType kThemeImagesDirname[] = FPL("Cached Theme Images"); 87 const FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak");
88 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); 88 const FilePath::CharType kCookieFilename[] = FPL("Cookies");
89 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies"); 89 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies");
90 const FilePath::CharType kHistoryFilename[] = FPL("History"); 90 const FilePath::CharType kHistoryFilename[] = FPL("History");
91 const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); 91 const FilePath::CharType kLocalStateFilename[] = FPL("Local State");
92 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); 92 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
93 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); 93 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing");
94 // WARNING: SingletonSocket can't contain spaces, because otherwise 94 // WARNING: SingletonSocket can't contain spaces, because otherwise
95 // chrome_process_util_linux would be broken. 95 // chrome_process_util_linux would be broken.
96 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); 96 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket");
97 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); 97 const FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock");
(...skipping 25 matching lines...) Expand all
123 // because it is useful for testing and not hazardous by itself. 123 // because it is useful for testing and not hazardous by itself.
124 #ifndef NDEBUG 124 #ifndef NDEBUG
125 const bool kRecordModeEnabled = true; 125 const bool kRecordModeEnabled = true;
126 #else 126 #else
127 const bool kRecordModeEnabled = false; 127 const bool kRecordModeEnabled = false;
128 #endif 128 #endif
129 129
130 } // namespace chrome 130 } // namespace chrome
131 131
132 #undef FPL 132 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698