Index: chrome/common/chrome_constants.h |
=================================================================== |
--- chrome/common/chrome_constants.h (revision 35352) |
+++ chrome/common/chrome_constants.h (working copy) |
@@ -67,8 +67,12 @@ |
extern const int kStatsMaxCounters; |
// The maximum number of characters of the document's title that we're willing |
-// to send to the browser process. |
+// to accept in the browser process. |
extern const size_t kMaxTitleChars; |
+// The maximum number of characters in the URL that we're willing to accept |
+// in the browser process. It is set low enough to avoid damage to the browser |
+// but high enough that a web site can abuse location.hash for a little storage. |
+extern const size_t kMaxURLChars; |
extern const bool kRecordModeEnabled; |