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_switches.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/gears_api.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_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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 // Optional PEM private key is to use in signing packaged .crx. 828 // Optional PEM private key is to use in signing packaged .crx.
829 const char kPackExtensionKey[] = "pack-extension-key"; 829 const char kPackExtensionKey[] = "pack-extension-key";
830 830
831 // Specifies the path to the user data folder for the parent profile. 831 // Specifies the path to the user data folder for the parent profile.
832 const char kParentProfile[] = "parent-profile"; 832 const char kParentProfile[] = "parent-profile";
833 833
834 // Read previously recorded data from the cache. Only cached data is read. 834 // Read previously recorded data from the cache. Only cached data is read.
835 // See kRecordMode. 835 // See kRecordMode.
836 const char kPlaybackMode[] = "playback-mode"; 836 const char kPlaybackMode[] = "playback-mode";
837 837
838 // Specifies the plugin data directory, which is where plugins (Gears
839 // specifically) will store its state.
840 const char kPluginDataDir[] = "plugin-data-dir";
841
842 // Controls speculative prerendering of pages, and content prefetching. Both 838 // Controls speculative prerendering of pages, and content prefetching. Both
843 // are dispatched from <link rel=prefetch href=...> elements. 839 // are dispatched from <link rel=prefetch href=...> elements.
844 const char kPrerender[] = "prerender"; 840 const char kPrerender[] = "prerender";
845 // These are the values the switch may have, as in "--prerender=auto". 841 // These are the values the switch may have, as in "--prerender=auto".
846 // auto: Allow field trial selection in both prerender and prefetch. 842 // auto: Allow field trial selection in both prerender and prefetch.
847 const char kPrerenderSwitchValueAuto[] = "auto"; 843 const char kPrerenderSwitchValueAuto[] = "auto";
848 // disabled: No prerendering or prefetching. 844 // disabled: No prerendering or prefetching.
849 const char kPrerenderSwitchValueDisabled[] = "disabled"; 845 const char kPrerenderSwitchValueDisabled[] = "disabled";
850 // enabled: Both prerendering and prefetching. 846 // enabled: Both prerendering and prefetching.
851 const char kPrerenderSwitchValueEnabled[] = "enabled"; 847 const char kPrerenderSwitchValueEnabled[] = "enabled";
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // region being painted to flash in red. 1208 // region being painted to flash in red.
1213 #if defined(TOOLKIT_VIEWS) 1209 #if defined(TOOLKIT_VIEWS)
1214 const char kDebugViewsPaint[] = "debug-views-paint"; 1210 const char kDebugViewsPaint[] = "debug-views-paint";
1215 #endif 1211 #endif
1216 1212
1217 #ifndef NDEBUG 1213 #ifndef NDEBUG
1218 // Clear the token service before using it. This allows simulating 1214 // Clear the token service before using it. This allows simulating
1219 // the expiration of credentials during testing. 1215 // the expiration of credentials during testing.
1220 const char kClearTokenService[] = "clear-token-service"; 1216 const char kClearTokenService[] = "clear-token-service";
1221 1217
1222 // Debug only switch to specify which gears plugin dll to load.
1223 const char kGearsPluginPathOverride[] = "gears-plugin-path";
1224
1225 // Sets a token in the token service, for testing. 1218 // Sets a token in the token service, for testing.
1226 const char kSetToken[] = "set-token"; 1219 const char kSetToken[] = "set-token";
1227 1220
1228 // Debug only switch to specify which websocket live experiment host to be used. 1221 // Debug only switch to specify which websocket live experiment host to be used.
1229 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) 1222 // If host is specified, it also makes initial delay shorter (5 min to 5 sec)
1230 // to make it faster to test websocket live experiment code. 1223 // to make it faster to test websocket live experiment code.
1231 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; 1224 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
1232 #endif 1225 #endif
1233 1226
1234 #if defined(HAVE_XINPUT2) 1227 #if defined(HAVE_XINPUT2)
1235 // Tells chrome to interpret events from these devices as touch events. Only 1228 // Tells chrome to interpret events from these devices as touch events. Only
1236 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices 1229 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices
1237 // can be retrieved from 'xinput list'. 1230 // can be retrieved from 'xinput list'.
1238 const char kTouchDevices[] = "touch-devices"; 1231 const char kTouchDevices[] = "touch-devices";
1239 #endif 1232 #endif
1240 1233
1241 1234
1242 // ----------------------------------------------------------------------------- 1235 // -----------------------------------------------------------------------------
1243 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1236 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1244 // 1237 //
1245 // You were going to just dump your switches here, weren't you? Instead, 1238 // You were going to just dump your switches here, weren't you? Instead,
1246 // please put them in alphabetical order above, or in order inside the 1239 // please put them in alphabetical order above, or in order inside the
1247 // appropriate ifdef at the bottom. The order should match the header. 1240 // appropriate ifdef at the bottom. The order should match the header.
1248 // ----------------------------------------------------------------------------- 1241 // -----------------------------------------------------------------------------
1249 1242
1250 } // namespace switches 1243 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/gears_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698