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

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

Issue 19610: Safe browsing cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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/chrome_constants.h ('k') | chrome/common/sqlite_utils.h » ('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 #include "chrome/common/chrome_constants.h" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "base/file_path.h"
8
9 #define FPL FILE_PATH_LITERAL
10
7 namespace chrome { 11 namespace chrome {
8 // The following should not be used for UI strings; they are meant 12 // The following should not be used for UI strings; they are meant
9 // for system strings only. UI changes should be made in the GRD. 13 // for system strings only. UI changes should be made in the GRD.
10 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; 14 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe";
11 #if defined(GOOGLE_CHROME_BUILD) 15 #if defined(GOOGLE_CHROME_BUILD)
12 const wchar_t kBrowserAppName[] = L"Chrome"; 16 const wchar_t kBrowserAppName[] = L"Chrome";
13 const char kStatsFilename[] = "ChromeStats2"; 17 const char kStatsFilename[] = "ChromeStats2";
14 #else 18 #else
15 const wchar_t kBrowserAppName[] = L"Chromium"; 19 const wchar_t kBrowserAppName[] = L"Chromium";
16 const char kStatsFilename[] = "ChromiumStats2"; 20 const char kStatsFilename[] = "ChromiumStats2";
17 #endif 21 #endif
18 const wchar_t kExternalTabWindowClass[] = L"Chrome_ExternalTabContainer"; 22 const wchar_t kExternalTabWindowClass[] = L"Chrome_ExternalTabContainer";
19 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; 23 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow";
20 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; 24 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt";
21 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; 25 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll";
22 const wchar_t kNotSignedInProfile[] = L"Default"; 26 const wchar_t kNotSignedInProfile[] = L"Default";
23 const wchar_t kNotSignedInID[] = L"not-signed-in"; 27 const wchar_t kNotSignedInID[] = L"not-signed-in";
24 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; 28 const wchar_t kBrowserResourcesDll[] = L"chrome.dll";
25 29
26 // filenames 30 // filenames
27 const wchar_t kArchivedHistoryFilename[] = L"Archived History"; 31 const wchar_t kArchivedHistoryFilename[] = L"Archived History";
28 const wchar_t kCacheDirname[] = L"Cache"; 32 const wchar_t kCacheDirname[] = L"Cache";
29 const wchar_t kChromePluginDataDirname[] = L"Plugin Data"; 33 const wchar_t kChromePluginDataDirname[] = L"Plugin Data";
30 const wchar_t kCookieFilename[] = L"Cookies"; 34 const wchar_t kCookieFilename[] = L"Cookies";
31 const wchar_t kHistoryFilename[] = L"History"; 35 const wchar_t kHistoryFilename[] = L"History";
32 const wchar_t kLocalStateFilename[] = L"Local State"; 36 const wchar_t kLocalStateFilename[] = L"Local State";
33 const wchar_t kPreferencesFilename[] = L"Preferences"; 37 const wchar_t kPreferencesFilename[] = L"Preferences";
34 const wchar_t kSafeBrowsingFilename[] = L"Safe Browsing"; 38 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing");
35 const wchar_t kThumbnailsFilename[] = L"Thumbnails"; 39 const wchar_t kThumbnailsFilename[] = L"Thumbnails";
36 const wchar_t kUserDataDirname[] = L"User Data"; 40 const wchar_t kUserDataDirname[] = L"User Data";
37 const wchar_t kUserScriptsDirname[] = L"User Scripts"; 41 const wchar_t kUserScriptsDirname[] = L"User Scripts";
38 const wchar_t kWebDataFilename[] = L"Web Data"; 42 const wchar_t kWebDataFilename[] = L"Web Data";
39 const wchar_t kBookmarksFileName[] = L"Bookmarks"; 43 const wchar_t kBookmarksFileName[] = L"Bookmarks";
40 const wchar_t kHistoryBookmarksFileName[] = L"Bookmarks From History"; 44 const wchar_t kHistoryBookmarksFileName[] = L"Bookmarks From History";
41 const wchar_t kCustomDictionaryFileName[] = L"Custom Dictionary.txt"; 45 const wchar_t kCustomDictionaryFileName[] = L"Custom Dictionary.txt";
42 46
43 // Note, this shouldn't go above 64. See bug 535234. 47 // Note, this shouldn't go above 64. See bug 535234.
44 const unsigned int kMaxRendererProcessCount = 20; 48 const unsigned int kMaxRendererProcessCount = 20;
45 const int kStatsMaxThreads = 32; 49 const int kStatsMaxThreads = 32;
46 const int kStatsMaxCounters = 300; 50 const int kStatsMaxCounters = 300;
47 51
48 // We don't enable record mode in the released product because users could 52 // We don't enable record mode in the released product because users could
49 // potentially be tricked into running a product in record mode without 53 // potentially be tricked into running a product in record mode without
50 // knowing it. Enable in debug builds. Playback mode is allowed always, 54 // knowing it. Enable in debug builds. Playback mode is allowed always,
51 // because it is useful for testing and not hazardous by itself. 55 // because it is useful for testing and not hazardous by itself.
52 #ifndef NDEBUG 56 #ifndef NDEBUG
53 const bool kRecordModeEnabled = true; 57 const bool kRecordModeEnabled = true;
54 #else 58 #else
55 const bool kRecordModeEnabled = false; 59 const bool kRecordModeEnabled = false;
56 #endif 60 #endif
57 } 61 }
58 62
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/sqlite_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698