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

Side by Side Diff: content/common/content_constants.h

Issue 6621025: Move socket stream messages to content, in preparation for moving its dispatc... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/common_param_traits.cc ('k') | content/common/content_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // A handful of resource-like constants related to the Content application.
6
7 #ifndef CONTENT_COMMON_CHROME_CONSTANTS_H_
8 #define CONTENT_COMMON_CHROME_CONSTANTS_H_
9 #pragma once
10
11 #include <stddef.h> // For size_t
12
13 namespace content {
14
15 // The maximum number of characters in the URL that we're willing to accept
16 // in the browser process. It is set low enough to avoid damage to the browser
17 // but high enough that a web site can abuse location.hash for a little storage.
18 // We have different values for "max accepted" and "max displayed" because
19 // a data: URI may be legitimately massive, but the full URI would kill all
20 // known operating systems if you dropped it into a UI control.
21 extern const size_t kMaxURLChars;
22 extern const size_t kMaxURLDisplayChars;
23
24 } // namespace content
25
26 #endif // CONTENT_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/common/common_param_traits.cc ('k') | content/common/content_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698