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

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

Issue 146136: Add a command line switch to allow setting the max size... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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_switches.h ('k') | net/disk_cache/backend_impl.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const wchar_t kUserDataDir[] = L"user-data-dir"; 117 const wchar_t kUserDataDir[] = L"user-data-dir";
118 118
119 // Specifies the plugin data directory, which is where plugins (Gears 119 // Specifies the plugin data directory, which is where plugins (Gears
120 // specifically) will store its state. 120 // specifically) will store its state.
121 const wchar_t kPluginDataDir[] = L"plugin-data-dir"; 121 const wchar_t kPluginDataDir[] = L"plugin-data-dir";
122 122
123 // Use a specific disk cache location, rather than one derived from the 123 // Use a specific disk cache location, rather than one derived from the
124 // UserDatadir. 124 // UserDatadir.
125 const wchar_t kDiskCacheDir[] = L"disk-cache-dir"; 125 const wchar_t kDiskCacheDir[] = L"disk-cache-dir";
126 126
127 // Forces the maximum disk space to be used by the disk cache, in bytes.
128 const wchar_t kDiskCacheSize[] = L"disk-cache-size";
129
130 // Forces the maximum disk space to be used by the media cache, in bytes.
131 const wchar_t kMediaCacheSize[] = L"media-cache-size";
132
127 // Whether the multiple profiles feature based on the user-data-dir flag is 133 // Whether the multiple profiles feature based on the user-data-dir flag is
128 // enabled or not. 134 // enabled or not.
129 const wchar_t kEnableUserDataDirProfiles[] = L"enable-udd-profiles"; 135 const wchar_t kEnableUserDataDirProfiles[] = L"enable-udd-profiles";
130 136
131 // Specifies the path to the user data folder for the parent profile. 137 // Specifies the path to the user data folder for the parent profile.
132 const wchar_t kParentProfile[] = L"parent-profile"; 138 const wchar_t kParentProfile[] = L"parent-profile";
133 139
134 // Specifies that the associated value should be launched in "application" mode. 140 // Specifies that the associated value should be launched in "application" mode.
135 const wchar_t kApp[] = L"app"; 141 const wchar_t kApp[] = L"app";
136 142
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 // On Windows, converts the page to the currently-installed monitor profile. 534 // On Windows, converts the page to the currently-installed monitor profile.
529 // This does NOT enable color management for images. The source is still assumed 535 // This does NOT enable color management for images. The source is still assumed
530 // to be sRGB. 536 // to be sRGB.
531 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; 537 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile";
532 538
533 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is 539 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is
534 // still experimental. 540 // still experimental.
535 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; 541 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor";
536 542
537 } // namespace switches 543 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698