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

Side by Side Diff: chrome/common/chrome_constants.h

Issue 6626064: Add/improve a bunch of comments... (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/browser/metrics/metrics_log.cc ('k') | no next file » | 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 81
82 extern const bool kRecordModeEnabled; 82 extern const bool kRecordModeEnabled;
83 83
84 // Most sequence numbers are used by a renderer when responding to a browser
85 // request for histogram data. This reserved number is used when a renderer
86 // sends an unprovoked update, such as after a page has been loaded. Using
87 // this reserved constant avoids any chance of confusion with a response having
88 // a browser-supplied sequence number.
84 extern const int kHistogramSynchronizerReservedSequenceNumber; 89 extern const int kHistogramSynchronizerReservedSequenceNumber;
85 90
86 // The maximum number of session history entries per tab. 91 // The maximum number of session history entries per tab.
87 extern const int kMaxSessionHistoryEntries; 92 extern const int kMaxSessionHistoryEntries;
88 93
89 // The language code used when the language of a page could not be detected. 94 // The language code used when the language of a page could not be detected.
90 // (Matches what the CLD -Compact Language Detection- library reports.) 95 // (Matches what the CLD -Compact Language Detection- library reports.)
91 extern const char* const kUnknownLanguageCode; 96 extern const char* const kUnknownLanguageCode;
92 97
93 } // namespace chrome 98 } // namespace chrome
94 99
95 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 100 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698