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

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

Issue 7714018: Give plug-in processes an executable heap and disable PIE/ASLR for Native (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/service_process_util.cc » ('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) 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 #include "chrome/common/chrome_constants.h" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 #define FPL FILE_PATH_LITERAL 9 #define FPL FILE_PATH_LITERAL
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const FilePath::CharType kBrowserProcessExecutablePathChromium[] = 86 const FilePath::CharType kBrowserProcessExecutablePathChromium[] =
87 FPL("chrome"); 87 FPL("chrome");
88 const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome"); 88 const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome");
89 const FilePath::CharType kHelperProcessExecutablePathChromium[] = FPL("chrome"); 89 const FilePath::CharType kHelperProcessExecutablePathChromium[] = FPL("chrome");
90 const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); 90 const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome");
91 #endif // OS_* 91 #endif // OS_*
92 92
93 #if defined(OS_MACOSX) 93 #if defined(OS_MACOSX)
94 const FilePath::CharType kFrameworkName[] = 94 const FilePath::CharType kFrameworkName[] =
95 FPL(PRODUCT_STRING " Framework.framework"); 95 FPL(PRODUCT_STRING " Framework.framework");
96
97 const char* const kHelperFlavorSuffixes[] = {
98 FPL("EH"), // Executable heap
99 FPL("NP"), // No PIE
100 NULL
101 };
96 #endif // OS_MACOSX 102 #endif // OS_MACOSX
97 103
98 const wchar_t kNaClAppName[] = L"nacl64"; 104 const wchar_t kNaClAppName[] = L"nacl64";
99 #if defined(GOOGLE_CHROME_BUILD) 105 #if defined(GOOGLE_CHROME_BUILD)
100 const wchar_t kBrowserAppName[] = L"Chrome"; 106 const wchar_t kBrowserAppName[] = L"Chrome";
101 const char kStatsFilename[] = "ChromeStats2"; 107 const char kStatsFilename[] = "ChromeStats2";
102 #else 108 #else
103 const wchar_t kBrowserAppName[] = L"Chromium"; 109 const wchar_t kBrowserAppName[] = L"Chromium";
104 const char kStatsFilename[] = "ChromiumStats2"; 110 const char kStatsFilename[] = "ChromiumStats2";
105 #endif 111 #endif
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 #endif 184 #endif
179 185
180 #if defined(OS_LINUX) 186 #if defined(OS_LINUX)
181 extern const int kLowestRendererOomScore = 300; 187 extern const int kLowestRendererOomScore = 300;
182 extern const int kHighestRendererOomScore = 1000; 188 extern const int kHighestRendererOomScore = 1000;
183 #endif 189 #endif
184 190
185 } // namespace chrome 191 } // namespace chrome
186 192
187 #undef FPL 193 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698