diff options
Diffstat (limited to 'chrome/common/chrome_constants.h')
-rw-r--r-- | chrome/common/chrome_constants.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index ea79fd8..c8121d0 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -67,8 +67,12 @@ extern const int kStatsMaxThreads; 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; |