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

Side by Side Diff: chrome/common/chrome_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 | « chrome/common/automation_messages.cc ('k') | chrome/common/chrome_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A handful of resource-like constants related to the Chrome application. 5 // A handful of resource-like constants related to the Chrome application.
6 6
7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_
8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 extern const FilePath::CharType kWebAppDirname[]; 71 extern const FilePath::CharType kWebAppDirname[];
72 extern const FilePath::CharType kServiceStateFileName[]; 72 extern const FilePath::CharType kServiceStateFileName[];
73 73
74 extern const unsigned int kMaxRendererProcessCount; 74 extern const unsigned int kMaxRendererProcessCount;
75 extern const int kStatsMaxThreads; 75 extern const int kStatsMaxThreads;
76 extern const int kStatsMaxCounters; 76 extern const int kStatsMaxCounters;
77 77
78 // The maximum number of characters of the document's title that we're willing 78 // The maximum number of characters of the document's title that we're willing
79 // to accept in the browser process. 79 // to accept in the browser process.
80 extern const size_t kMaxTitleChars; 80 extern const size_t kMaxTitleChars;
81 // The maximum number of characters in the URL that we're willing to accept
82 // in the browser process. It is set low enough to avoid damage to the browser
83 // but high enough that a web site can abuse location.hash for a little storage.
84 // We have different values for "max accepted" and "max displayed" because
85 // a data: URI may be legitimately massive, but the full URI would kill all
86 // known operating systems if you dropped it into a UI control.
87 extern const size_t kMaxURLChars;
88 extern const size_t kMaxURLDisplayChars;
89 81
90 extern const bool kRecordModeEnabled; 82 extern const bool kRecordModeEnabled;
91 83
92 extern const int kHistogramSynchronizerReservedSequenceNumber; 84 extern const int kHistogramSynchronizerReservedSequenceNumber;
93 85
94 // The maximum number of session history entries per tab. 86 // The maximum number of session history entries per tab.
95 extern const int kMaxSessionHistoryEntries; 87 extern const int kMaxSessionHistoryEntries;
96 88
97 // The language code used when the language of a page could not be detected. 89 // The language code used when the language of a page could not be detected.
98 // (Matches what the CLD -Compact Language Detection- library reports.) 90 // (Matches what the CLD -Compact Language Detection- library reports.)
99 extern const char* const kUnknownLanguageCode; 91 extern const char* const kUnknownLanguageCode;
100 92
101 } // namespace chrome 93 } // namespace chrome
102 94
103 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 95 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/automation_messages.cc ('k') | chrome/common/chrome_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698