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

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

Issue 6874038: Remove the last Chrome dependencies from renderer, and enforce no more includes through DEPS. I ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); 109 const FilePath::CharType kLoginDataFileName[] = FPL("Login Data");
110 const FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); 110 const FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons");
111 const FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); 111 const FilePath::CharType kWebAppDirname[] = FPL("Web Applications");
112 const FilePath::CharType kServiceStateFileName[] = FPL("Service State"); 112 const FilePath::CharType kServiceStateFileName[] = FPL("Service State");
113 113
114 // This number used to be limited to 32 in the past (see b/535234). 114 // This number used to be limited to 32 in the past (see b/535234).
115 const unsigned int kMaxRendererProcessCount = 42; 115 const unsigned int kMaxRendererProcessCount = 42;
116 const int kStatsMaxThreads = 32; 116 const int kStatsMaxThreads = 32;
117 const int kStatsMaxCounters = 3000; 117 const int kStatsMaxCounters = 3000;
118 118
119 const size_t kMaxTitleChars = 4 * 1024;
120
121 // We don't enable record mode in the released product because users could 119 // We don't enable record mode in the released product because users could
122 // potentially be tricked into running a product in record mode without 120 // potentially be tricked into running a product in record mode without
123 // knowing it. Enable in debug builds. Playback mode is allowed always, 121 // knowing it. Enable in debug builds. Playback mode is allowed always,
124 // because it is useful for testing and not hazardous by itself. 122 // because it is useful for testing and not hazardous by itself.
125 #ifndef NDEBUG 123 #ifndef NDEBUG
126 const bool kRecordModeEnabled = true; 124 const bool kRecordModeEnabled = true;
127 #else 125 #else
128 const bool kRecordModeEnabled = false; 126 const bool kRecordModeEnabled = false;
129 #endif 127 #endif
130 128
131 const int kHistogramSynchronizerReservedSequenceNumber = 0; 129 const int kHistogramSynchronizerReservedSequenceNumber = 0;
132 130
133 const int kMaxSessionHistoryEntries = 50;
134
135 const char* const kUnknownLanguageCode = "und"; 131 const char* const kUnknownLanguageCode = "und";
136 132
137 const int kJavascriptMessageExpectedDelay = 1000; 133 const int kJavascriptMessageExpectedDelay = 1000;
138 134
139 } // namespace chrome 135 } // namespace chrome
140 136
141 #undef FPL 137 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698