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

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

Issue 1129233003: localStorage: Aggressively flush to disk for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-storage-flush-android
Patch Set: Only logging LocalStorage.CommitDelay when not aggressive Created 5 years, 7 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 const char kNetworkCountryIso[] = "network-country-iso"; 930 const char kNetworkCountryIso[] = "network-country-iso";
931 931
932 // Enables remote debug over HTTP on the specified socket name. 932 // Enables remote debug over HTTP on the specified socket name.
933 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 933 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
934 934
935 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 935 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
936 // Java debugger is attached. 936 // Java debugger is attached.
937 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 937 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
938 #endif 938 #endif
939 939
940 // Enable the aggressive flushing of DOM Storage to minimize data loss.
941 const char kEnableAggressiveDOMStorageFlushing[] =
942 "enable-aggressive-domstorage-flushing";
943
940 // Disable web audio API. 944 // Disable web audio API.
941 const char kDisableWebAudio[] = "disable-webaudio"; 945 const char kDisableWebAudio[] = "disable-webaudio";
942 946
943 #if defined(OS_CHROMEOS) 947 #if defined(OS_CHROMEOS)
944 // Disables panel fitting (used for mirror mode). 948 // Disables panel fitting (used for mirror mode).
945 const char kDisablePanelFitting[] = "disable-panel-fitting"; 949 const char kDisablePanelFitting[] = "disable-panel-fitting";
946 950
947 // Disables VA-API accelerated video encode. 951 // Disables VA-API accelerated video encode.
948 const char kDisableVaapiAcceleratedVideoEncode[] = 952 const char kDisableVaapiAcceleratedVideoEncode[] =
949 "disable-vaapi-accelerated-video-encode"; 953 "disable-vaapi-accelerated-video-encode";
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 // Windows Vista and later. 991 // Windows Vista and later.
988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
989 #endif 993 #endif
990 994
991 // Enables the use of NPAPI plugins. 995 // Enables the use of NPAPI plugins.
992 const char kEnableNpapi[] = "enable-npapi"; 996 const char kEnableNpapi[] = "enable-npapi";
993 997
994 // Don't dump stuff here, follow the same order as the header. 998 // Don't dump stuff here, follow the same order as the header.
995 999
996 } // namespace switches 1000 } // namespace switches
OLDNEW
« content/browser/dom_storage/dom_storage_area.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698