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

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

Issue 19747: URLRequestContext and disk cache for media files (Closed)
Patch Set: signed and unsigned... Created 11 years, 9 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
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698