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

Unified Diff: content/public/common/content_constants.h

Issue 112053002: Allow the max url length to be overridden (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually using the new API in AWV Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_constants.h
diff --git a/content/public/common/content_constants.h b/content/public/common/content_constants.h
index a3473fd18858afcc39a8d59f15b22111e6d3b8d9..cad536e73100b69eb93fdebc912b1aca49efb736 100644
--- a/content/public/common/content_constants.h
+++ b/content/public/common/content_constants.h
@@ -41,13 +41,6 @@ extern const int kMaxSessionHistoryEntries;
// 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.
-// 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.
-CONTENT_EXPORT extern const size_t kMaxURLChars;
CONTENT_EXPORT extern const size_t kMaxURLDisplayChars;
extern const char kStatsFilename[];

Powered by Google App Engine
This is Rietveld 408576698