diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 05:25:17 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 05:25:17 +0000 |
commit | f0af6a7ccfde1fb8068f89b190337c1a8ef99890 (patch) | |
tree | 15ab1d791684e29cf46e9eb8032abb40faf32746 /chrome/common/chrome_constants.h | |
parent | b664c3c97b36f6cb1a831641ca1b42e90f259b1b (diff) | |
download | chromium_src-f0af6a7ccfde1fb8068f89b190337c1a8ef99890.zip chromium_src-f0af6a7ccfde1fb8068f89b190337c1a8ef99890.tar.gz chromium_src-f0af6a7ccfde1fb8068f89b190337c1a8ef99890.tar.bz2 |
Enforce a max length for document titles.
R=deanm
BUG=http://crbug.com/12810
TEST=None
Review URL: http://codereview.chromium.org/113969
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_constants.h')
-rw-r--r-- | chrome/common/chrome_constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index 8864d56..7d7836f 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -48,6 +48,10 @@ extern const unsigned int kMaxRendererProcessCount; 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. +extern const size_t kMaxTitleChars; + extern const bool kRecordModeEnabled; } // namespace chrome |