OLD | NEW |
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 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 extern const size_t kMaxTitleChars; | 72 extern const size_t kMaxTitleChars; |
73 // The maximum number of characters in the URL that we're willing to accept | 73 // The maximum number of characters in the URL that we're willing to accept |
74 // in the browser process. It is set low enough to avoid damage to the browser | 74 // in the browser process. It is set low enough to avoid damage to the browser |
75 // but high enough that a web site can abuse location.hash for a little storage. | 75 // but high enough that a web site can abuse location.hash for a little storage. |
76 extern const size_t kMaxURLChars; | 76 extern const size_t kMaxURLChars; |
77 | 77 |
78 extern const bool kRecordModeEnabled; | 78 extern const bool kRecordModeEnabled; |
79 | 79 |
80 extern const int kHistogramSynchronizerReservedSequenceNumber; | 80 extern const int kHistogramSynchronizerReservedSequenceNumber; |
81 | 81 |
| 82 // The maximum number of session history entries per tab. |
| 83 extern const int kMaxSessionHistoryEntries; |
| 84 |
82 } // namespace chrome | 85 } // namespace chrome |
83 | 86 |
84 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 87 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |