Index: chrome/common/chrome_constants.h |
=================================================================== |
--- chrome/common/chrome_constants.h (revision 43077) |
+++ chrome/common/chrome_constants.h (working copy) |
@@ -74,7 +74,11 @@ |
// 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. |
+// We have different values for "max accepted" and "max displayed" because |
+// a data: URI may be legitimately massive, but the full URI would kill all |
+// known operating systems if you dropped it into a UI control. |
extern const size_t kMaxURLChars; |
+extern const size_t kMaxURLDisplayChars; |
extern const bool kRecordModeEnabled; |