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

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

Issue 7671033: Changing OOM range to 0, 1000 and tweaking OOM algorithm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More review changes 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') | content/browser/zygote_host_linux.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) 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const char* const kUnknownLanguageCode = "und"; 170 const char* const kUnknownLanguageCode = "und";
171 171
172 const int kJavascriptMessageExpectedDelay = 1000; 172 const int kJavascriptMessageExpectedDelay = 1000;
173 173
174 #ifdef TOUCH_UI 174 #ifdef TOUCH_UI
175 const bool kEnableTouchIcon = true; 175 const bool kEnableTouchIcon = true;
176 #else 176 #else
177 const bool kEnableTouchIcon = false; 177 const bool kEnableTouchIcon = false;
178 #endif 178 #endif
179 179
180 #if defined(OS_LINUX)
181 extern const int kLowestRendererOomScore = 300;
182 extern const int kHighestRendererOomScore = 1000;
183 #endif
184
180 } // namespace chrome 185 } // namespace chrome
181 186
182 #undef FPL 187 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | content/browser/zygote_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698