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

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

Issue 7779040: Start moving code from BrowserMain to content, so that it can be reused by all embedders of conte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix windows unittest Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 28 matching lines...) Expand all
39 #endif // OS_MACOSX 39 #endif // OS_MACOSX
40 extern const wchar_t kBrowserAppName[]; 40 extern const wchar_t kBrowserAppName[];
41 #if defined(OS_WIN) 41 #if defined(OS_WIN)
42 extern const wchar_t kStatusTrayWindowClass[]; 42 extern const wchar_t kStatusTrayWindowClass[];
43 #endif // defined(OS_WIN) 43 #endif // defined(OS_WIN)
44 extern const wchar_t kMessageWindowClass[]; 44 extern const wchar_t kMessageWindowClass[];
45 extern const wchar_t kCrashReportLog[]; 45 extern const wchar_t kCrashReportLog[];
46 extern const wchar_t kTestingInterfaceDLL[]; 46 extern const wchar_t kTestingInterfaceDLL[];
47 extern const char kInitialProfile[]; 47 extern const char kInitialProfile[];
48 extern const char kMultiProfileDirPrefix[]; 48 extern const char kMultiProfileDirPrefix[];
49 extern const char kStatsFilename[];
50 extern const wchar_t kBrowserResourcesDll[]; 49 extern const wchar_t kBrowserResourcesDll[];
51 extern const wchar_t kNaClAppName[]; 50 extern const wchar_t kNaClAppName[];
52 extern const FilePath::CharType kExtensionFileExtension[]; 51 extern const FilePath::CharType kExtensionFileExtension[];
53 extern const FilePath::CharType kExtensionKeyFileExtension[]; 52 extern const FilePath::CharType kExtensionKeyFileExtension[];
54 53
55 // filenames 54 // filenames
56 extern const FilePath::CharType kArchivedHistoryFilename[]; 55 extern const FilePath::CharType kArchivedHistoryFilename[];
57 extern const FilePath::CharType kCacheDirname[]; 56 extern const FilePath::CharType kCacheDirname[];
58 extern const FilePath::CharType kMediaCacheDirname[]; 57 extern const FilePath::CharType kMediaCacheDirname[];
59 extern const FilePath::CharType kOffTheRecordMediaCacheDirname[]; 58 extern const FilePath::CharType kOffTheRecordMediaCacheDirname[];
(...skipping 17 matching lines...) Expand all
77 extern const wchar_t kUserDataDirname[]; 76 extern const wchar_t kUserDataDirname[];
78 extern const FilePath::CharType kWebDataFilename[]; 77 extern const FilePath::CharType kWebDataFilename[];
79 extern const FilePath::CharType kBookmarksFileName[]; 78 extern const FilePath::CharType kBookmarksFileName[];
80 extern const FilePath::CharType kHistoryBookmarksFileName[]; 79 extern const FilePath::CharType kHistoryBookmarksFileName[];
81 extern const FilePath::CharType kCustomDictionaryFileName[]; 80 extern const FilePath::CharType kCustomDictionaryFileName[];
82 extern const FilePath::CharType kLoginDataFileName[]; 81 extern const FilePath::CharType kLoginDataFileName[];
83 extern const FilePath::CharType kJumpListIconDirname[]; 82 extern const FilePath::CharType kJumpListIconDirname[];
84 extern const FilePath::CharType kWebAppDirname[]; 83 extern const FilePath::CharType kWebAppDirname[];
85 extern const FilePath::CharType kServiceStateFileName[]; 84 extern const FilePath::CharType kServiceStateFileName[];
86 85
87 extern const int kStatsMaxThreads;
88 extern const int kStatsMaxCounters;
89
90 extern const bool kRecordModeEnabled; 86 extern const bool kRecordModeEnabled;
91 87
92 // Most sequence numbers are used by a renderer when responding to a browser 88 // Most sequence numbers are used by a renderer when responding to a browser
93 // request for histogram data. This reserved number is used when a renderer 89 // request for histogram data. This reserved number is used when a renderer
94 // sends an unprovoked update, such as after a page has been loaded. Using 90 // sends an unprovoked update, such as after a page has been loaded. Using
95 // this reserved constant avoids any chance of confusion with a response having 91 // this reserved constant avoids any chance of confusion with a response having
96 // a browser-supplied sequence number. 92 // a browser-supplied sequence number.
97 extern const int kHistogramSynchronizerReservedSequenceNumber; 93 extern const int kHistogramSynchronizerReservedSequenceNumber;
98 94
99 // The language code used when the language of a page could not be detected. 95 // The language code used when the language of a page could not be detected.
(...skipping 17 matching lines...) Expand all
117 #endif 113 #endif
118 114
119 #if defined(OS_WIN) 115 #if defined(OS_WIN)
120 // This is used by the PreRead experiment. 116 // This is used by the PreRead experiment.
121 extern const char kPreReadEnvironmentVariable[]; 117 extern const char kPreReadEnvironmentVariable[];
122 #endif 118 #endif
123 119
124 } // namespace chrome 120 } // namespace chrome
125 121
126 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 122 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698