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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2847013002: Switch to mojo localstorage backend by default. (Closed)
Patch Set: rebase Created 3 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // Disable LocalStorage. 201 // Disable LocalStorage.
202 const char kDisableLocalStorage[] = "disable-local-storage"; 202 const char kDisableLocalStorage[] = "disable-local-storage";
203 203
204 // Force logging to be disabled. Logging is enabled by default in debug 204 // Force logging to be disabled. Logging is enabled by default in debug
205 // builds. 205 // builds.
206 const char kDisableLogging[] = "disable-logging"; 206 const char kDisableLogging[] = "disable-logging";
207 207
208 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. 208 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders.
209 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva"; 209 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva";
210 210
211 // Dont use a Mojo-based LocalStorage implementation.
212 const char kDisableMojoLocalStorage[] = "disable-mojo-local-storage";
213
211 // Disables usage of the namespace sandbox. 214 // Disables usage of the namespace sandbox.
212 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 215 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
213 216
214 // Disables the Web Notification and the Push APIs. 217 // Disables the Web Notification and the Push APIs.
215 const char kDisableNotifications[] = "disable-notifications"; 218 const char kDisableNotifications[] = "disable-notifications";
216 219
217 // Disable partial raster in the renderer. Disabling this switch also disables 220 // Disable partial raster in the renderer. Disabling this switch also disables
218 // the use of persistent gpu memory buffers. 221 // the use of persistent gpu memory buffers.
219 const char kDisablePartialRaster[] = "disable-partial-raster"; 222 const char kDisablePartialRaster[] = "disable-partial-raster";
220 223
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 // Sets options for MHTML generator to skip no-store resources: 632 // Sets options for MHTML generator to skip no-store resources:
630 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' 633 // "skip-nostore-main" - fails to save a page if main frame is 'no-store'
631 // "skip-nostore-all" - also skips no-store subresources. 634 // "skip-nostore-all" - also skips no-store subresources.
632 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; 635 const char kMHTMLGeneratorOption[] = "mhtml-generator-option";
633 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; 636 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main";
634 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; 637 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all";
635 638
636 // Use Mojo-based Input Event routing. 639 // Use Mojo-based Input Event routing.
637 const char kMojoInputMessages[] = "mojo-input-messages"; 640 const char kMojoInputMessages[] = "mojo-input-messages";
638 641
639 // Use a Mojo-based LocalStorage implementation.
640 const char kMojoLocalStorage[] = "mojo-local-storage";
641
642 // Mutes audio sent to the audio device so it is not audible during 642 // Mutes audio sent to the audio device so it is not audible during
643 // automated testing. 643 // automated testing.
644 const char kMuteAudio[] = "mute-audio"; 644 const char kMuteAudio[] = "mute-audio";
645 645
646 // Don't send HTTP-Referer headers. 646 // Don't send HTTP-Referer headers.
647 const char kNoReferrers[] = "no-referrers"; 647 const char kNoReferrers[] = "no-referrers";
648 648
649 // Disables the sandbox for all process types that are normally sandboxed. 649 // Disables the sandbox for all process types that are normally sandboxed.
650 const char kNoSandbox[] = "no-sandbox"; 650 const char kNoSandbox[] = "no-sandbox";
651 651
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 // the given directory. Used primarily to gather samples for IPC fuzzing. 1074 // the given directory. Used primarily to gather samples for IPC fuzzing.
1075 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1075 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1076 1076
1077 // Specifies the testcase used by the IPC fuzzer. 1077 // Specifies the testcase used by the IPC fuzzer.
1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1079 #endif 1079 #endif
1080 1080
1081 // Don't dump stuff here, follow the same order as the header. 1081 // Don't dump stuff here, follow the same order as the header.
1082 1082
1083 } // namespace switches 1083 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698