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

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

Issue 115204: Add a separate cookie store that's used for extensions.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); 53 const FilePath::CharType kExtensionFileExtension[] = FPL("crx");
54 54
55 // filenames 55 // filenames
56 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); 56 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History");
57 const FilePath::CharType kCacheDirname[] = FPL("Cache"); 57 const FilePath::CharType kCacheDirname[] = FPL("Cache");
58 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); 58 const FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache");
59 const FilePath::CharType kOffTheRecordMediaCacheDirname[] = 59 const FilePath::CharType kOffTheRecordMediaCacheDirname[] =
60 FPL("Incognito Media Cache"); 60 FPL("Incognito Media Cache");
61 const wchar_t kChromePluginDataDirname[] = L"Plugin Data"; 61 const wchar_t kChromePluginDataDirname[] = L"Plugin Data";
62 const FilePath::CharType kCookieFilename[] = FPL("Cookies"); 62 const FilePath::CharType kCookieFilename[] = FPL("Cookies");
63 const FilePath::CharType kExtensionsCookieFilename[] = FPL("Extension Cookies");
63 const FilePath::CharType kHistoryFilename[] = FPL("History"); 64 const FilePath::CharType kHistoryFilename[] = FPL("History");
64 const FilePath::CharType kLocalStateFilename[] = FPL("Local State"); 65 const FilePath::CharType kLocalStateFilename[] = FPL("Local State");
65 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); 66 const FilePath::CharType kPreferencesFilename[] = FPL("Preferences");
66 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); 67 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing");
67 // WARNING: SingletonSocket can't contain spaces, because otherwise 68 // WARNING: SingletonSocket can't contain spaces, because otherwise
68 // chrome_process_util_linux would be broken. 69 // chrome_process_util_linux would be broken.
69 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); 70 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket");
70 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); 71 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails");
71 const wchar_t kUserDataDirname[] = L"User Data"; 72 const wchar_t kUserDataDirname[] = L"User Data";
72 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); 73 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts");
(...skipping 13 matching lines...) Expand all
86 // potentially be tricked into running a product in record mode without 87 // potentially be tricked into running a product in record mode without
87 // knowing it. Enable in debug builds. Playback mode is allowed always, 88 // knowing it. Enable in debug builds. Playback mode is allowed always,
88 // because it is useful for testing and not hazardous by itself. 89 // because it is useful for testing and not hazardous by itself.
89 #ifndef NDEBUG 90 #ifndef NDEBUG
90 const bool kRecordModeEnabled = true; 91 const bool kRecordModeEnabled = true;
91 #else 92 #else
92 const bool kRecordModeEnabled = false; 93 const bool kRecordModeEnabled = false;
93 #endif 94 #endif
94 95
95 } // namespace chrome 96 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698