chrome_constants.h revision dc0f95d653279beabeb9817299e2902918ba123e
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
3// found in the LICENSE file.
4
5// A handful of resource-like constants related to the Chrome application.
6
7#ifndef CHROME_COMMON_CHROME_CONSTANTS_H_
8#define CHROME_COMMON_CHROME_CONSTANTS_H_
9#pragma once
10
11#include "base/file_path.h"
12
13namespace chrome {
14
15extern const char kChromeVersion[];
16
17extern const char kChromeVersionEnvVar[];
18
19extern const FilePath::CharType kBrowserProcessExecutableName[];
20extern const FilePath::CharType kHelperProcessExecutableName[];
21extern const FilePath::CharType kBrowserProcessExecutablePath[];
22extern const FilePath::CharType kHelperProcessExecutablePath[];
23#if defined(OS_MACOSX)
24extern const FilePath::CharType kFrameworkName[];
25#endif
26extern const wchar_t kBrowserAppName[];
27#if defined(OS_WIN)
28extern const wchar_t kStatusTrayWindowClass[];
29#endif  // defined(OS_WIN)
30extern const wchar_t kMessageWindowClass[];
31extern const wchar_t kCrashReportLog[];
32extern const wchar_t kTestingInterfaceDLL[];
33extern const wchar_t kNotSignedInProfile[];
34extern const wchar_t kNotSignedInID[];
35extern const char    kStatsFilename[];
36extern const wchar_t kBrowserResourcesDll[];
37extern const wchar_t kNaClAppName[];
38extern const FilePath::CharType kExtensionFileExtension[];
39extern const FilePath::CharType kExtensionKeyFileExtension[];
40
41// filenames
42extern const FilePath::CharType kArchivedHistoryFilename[];
43extern const FilePath::CharType kCacheDirname[];
44extern const FilePath::CharType kMediaCacheDirname[];
45extern const FilePath::CharType kOffTheRecordMediaCacheDirname[];
46extern const FilePath::CharType kAppCacheDirname[];
47extern const FilePath::CharType kChromePluginDataDirname[];
48extern const FilePath::CharType kThemePackFilename[];
49extern const FilePath::CharType kCookieFilename[];
50extern const FilePath::CharType kExtensionsCookieFilename[];
51extern const FilePath::CharType kFaviconsFilename[];
52extern const FilePath::CharType kHistoryFilename[];
53extern const FilePath::CharType kLocalStateFilename[];
54extern const FilePath::CharType kPreferencesFilename[];
55extern const FilePath::CharType kSafeBrowsingBaseFilename[];
56extern const FilePath::CharType kSafeBrowsingPhishingModelFilename[];
57extern const FilePath::CharType kSingletonCookieFilename[];
58extern const FilePath::CharType kSingletonSocketFilename[];
59extern const FilePath::CharType kSingletonLockFilename[];
60extern const FilePath::CharType kThumbnailsFilename[];
61extern const FilePath::CharType kNewTabThumbnailsFilename[];
62extern const FilePath::CharType kTopSitesFilename[];
63extern const wchar_t kUserDataDirname[];
64extern const FilePath::CharType kUserScriptsDirname[];
65extern const FilePath::CharType kWebDataFilename[];
66extern const FilePath::CharType kBookmarksFileName[];
67extern const FilePath::CharType kHistoryBookmarksFileName[];
68extern const FilePath::CharType kCustomDictionaryFileName[];
69extern const FilePath::CharType kLoginDataFileName[];
70extern const FilePath::CharType kJumpListIconDirname[];
71extern const FilePath::CharType kWebAppDirname[];
72extern const FilePath::CharType kServiceStateFileName[];
73
74extern const unsigned int kMaxRendererProcessCount;
75extern const int kStatsMaxThreads;
76extern const int kStatsMaxCounters;
77
78// The maximum number of characters of the document's title that we're willing
79// to accept in the browser process.
80extern const size_t kMaxTitleChars;
81
82extern const bool kRecordModeEnabled;
83
84extern const int kHistogramSynchronizerReservedSequenceNumber;
85
86// The maximum number of session history entries per tab.
87extern const int kMaxSessionHistoryEntries;
88
89// The language code used when the language of a page could not be detected.
90// (Matches what the CLD -Compact Language Detection- library reports.)
91extern const char* const kUnknownLanguageCode;
92
93}  // namespace chrome
94
95#endif  // CHROME_COMMON_CHROME_CONSTANTS_H_
96