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

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

Issue 147044: Wire up a LoginDatabase for PasswordStoreMac (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | no next file » | 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket"); 69 const FilePath::CharType kSingletonSocketFilename[] = FPL("SingletonSocket");
70 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); 70 const FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails");
71 const wchar_t kUserDataDirname[] = L"User Data"; 71 const wchar_t kUserDataDirname[] = L"User Data";
72 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); 72 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts");
73 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); 73 const FilePath::CharType kWebDataFilename[] = FPL("Web Data");
74 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); 74 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
75 const FilePath::CharType kHistoryBookmarksFileName[] = 75 const FilePath::CharType kHistoryBookmarksFileName[] =
76 FPL("Bookmarks From History"); 76 FPL("Bookmarks From History");
77 const FilePath::CharType kCustomDictionaryFileName[] = 77 const FilePath::CharType kCustomDictionaryFileName[] =
78 FPL("Custom Dictionary.txt"); 78 FPL("Custom Dictionary.txt");
79 const FilePath::CharType kLoginDataFileName[] = FPL("Login Data");
79 80
80 // This number used to be limited to 32 in the past (see b/535234). 81 // This number used to be limited to 32 in the past (see b/535234).
81 const unsigned int kMaxRendererProcessCount = 42; 82 const unsigned int kMaxRendererProcessCount = 42;
82 const int kStatsMaxThreads = 32; 83 const int kStatsMaxThreads = 32;
83 const int kStatsMaxCounters = 300; 84 const int kStatsMaxCounters = 300;
84 85
85 const size_t kMaxTitleChars = 4 * 1024; 86 const size_t kMaxTitleChars = 4 * 1024;
86 87
87 // We don't enable record mode in the released product because users could 88 // We don't enable record mode in the released product because users could
88 // potentially be tricked into running a product in record mode without 89 // potentially be tricked into running a product in record mode without
89 // knowing it. Enable in debug builds. Playback mode is allowed always, 90 // knowing it. Enable in debug builds. Playback mode is allowed always,
90 // because it is useful for testing and not hazardous by itself. 91 // because it is useful for testing and not hazardous by itself.
91 #ifndef NDEBUG 92 #ifndef NDEBUG
92 const bool kRecordModeEnabled = true; 93 const bool kRecordModeEnabled = true;
93 #else 94 #else
94 const bool kRecordModeEnabled = false; 95 const bool kRecordModeEnabled = false;
95 #endif 96 #endif
96 97
97 } // namespace chrome 98 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698