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

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

Issue 1008723006: Remove HTTP cache Record/Playback support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/chrome_switches.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 #define FPL FILE_PATH_LITERAL 9 #define FPL FILE_PATH_LITERAL
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 FPL("PepperFlashPlayer.plugin"); 190 FPL("PepperFlashPlayer.plugin");
191 #elif defined(OS_WIN) 191 #elif defined(OS_WIN)
192 FPL("pepflashplayer.dll"); 192 FPL("pepflashplayer.dll");
193 #else // OS_LINUX, etc. 193 #else // OS_LINUX, etc.
194 FPL("libpepflashplayer.so"); 194 FPL("libpepflashplayer.so");
195 #endif 195 #endif
196 196
197 // directory names 197 // directory names
198 const wchar_t kUserDataDirname[] = L"User Data"; 198 const wchar_t kUserDataDirname[] = L"User Data";
199 199
200 // We don't enable record mode in the released product because users could
201 // potentially be tricked into running a product in record mode without
202 // knowing it. Enable in debug builds. Playback mode is allowed always,
203 // because it is useful for testing and not hazardous by itself.
204 #ifndef NDEBUG
205 // const bool kRecordModeEnabled = true;
206 #else
207 // const bool kRecordModeEnabled = false;
208 #endif
209
210 const bool kRecordModeEnabled = true;
211
212 #if defined(OS_ANDROID) || defined(OS_IOS) 200 #if defined(OS_ANDROID) || defined(OS_IOS)
213 const bool kEnableTouchIcon = true; 201 const bool kEnableTouchIcon = true;
214 #else 202 #else
215 const bool kEnableTouchIcon = false; 203 const bool kEnableTouchIcon = false;
216 #endif 204 #endif
217 205
218 const float kMaxShareOfExtensionProcesses = 0.30f; 206 const float kMaxShareOfExtensionProcesses = 0.30f;
219 207
220 #if defined(OS_LINUX) 208 #if defined(OS_LINUX)
221 const int kLowestRendererOomScore = 300; 209 const int kLowestRendererOomScore = 300;
(...skipping 26 matching lines...) Expand all
248 // user can select for different file types. 236 // user can select for different file types.
249 // {2676A9A2-D919-4FEE-9187-152100393AB2} 237 // {2676A9A2-D919-4FEE-9187-152100393AB2}
250 const char kApplicationClientIDStringForAVScanning[] = 238 const char kApplicationClientIDStringForAVScanning[] =
251 "2676A9A2-D919-4FEE-9187-152100393AB2"; 239 "2676A9A2-D919-4FEE-9187-152100393AB2";
252 240
253 const size_t kMaxMetaTagAttributeLength = 2000; 241 const size_t kMaxMetaTagAttributeLength = 2000;
254 242
255 } // namespace chrome 243 } // namespace chrome
256 244
257 #undef FPL 245 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698