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

Side by Side Diff: chrome/common/chrome_switches.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_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.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) 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_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 // Development flag for permission request API. This flag is needed until 881 // Development flag for permission request API. This flag is needed until
882 // the API is finalized. 882 // the API is finalized.
883 // TODO(bauerb): Remove when this flag is not needed anymore. 883 // TODO(bauerb): Remove when this flag is not needed anymore.
884 const char kPermissionRequestApiScope[] = "permission-request-api-scope"; 884 const char kPermissionRequestApiScope[] = "permission-request-api-scope";
885 885
886 // Development flag for permission request API. This flag is needed until 886 // Development flag for permission request API. This flag is needed until
887 // the API is finalized. 887 // the API is finalized.
888 // TODO(bauerb): Remove when this flag is not needed anymore. 888 // TODO(bauerb): Remove when this flag is not needed anymore.
889 const char kPermissionRequestApiUrl[] = "permission-request-api-url"; 889 const char kPermissionRequestApiUrl[] = "permission-request-api-url";
890 890
891 // Read previously recorded data from the cache. Only cached data is read.
892 // See kRecordMode.
893 const char kPlaybackMode[] = "playback-mode";
894
895 // Use the PPAPI (Pepper) Flash found at the given path. 891 // Use the PPAPI (Pepper) Flash found at the given path.
896 const char kPpapiFlashPath[] = "ppapi-flash-path"; 892 const char kPpapiFlashPath[] = "ppapi-flash-path";
897 893
898 // Report the given version for the PPAPI (Pepper) Flash. The version should be 894 // Report the given version for the PPAPI (Pepper) Flash. The version should be
899 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it 895 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it
900 // defaults to "10.2.999.999". 896 // defaults to "10.2.999.999".
901 const char kPpapiFlashVersion[] = "ppapi-flash-version"; 897 const char kPpapiFlashVersion[] = "ppapi-flash-version";
902 898
903 // Triggers prerendering of search base page to prefetch results for the typed 899 // Triggers prerendering of search base page to prefetch results for the typed
904 // omnibox query. Only has an effect when prerender is enabled. 900 // omnibox query. Only has an effect when prerender is enabled.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 // Specifies a comma separated list of QUIC connection options to send to 972 // Specifies a comma separated list of QUIC connection options to send to
977 // the server. 973 // the server.
978 const char kQuicConnectionOptions[] = "quic-connection-options"; 974 const char kQuicConnectionOptions[] = "quic-connection-options";
979 975
980 // Specifies the maximum length for a QUIC packet. 976 // Specifies the maximum length for a QUIC packet.
981 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 977 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
982 978
983 // Specifies the version of QUIC to use. 979 // Specifies the version of QUIC to use.
984 const char kQuicVersion[] = "quic-version"; 980 const char kQuicVersion[] = "quic-version";
985 981
986 // Chrome supports a playback and record mode. Record mode saves *everything*
987 // to the cache. Playback mode reads data exclusively from the cache. This
988 // allows us to record a session into the cache and then replay it at will.
989 // See also kPlaybackMode.
990 const char kRecordMode[] = "record-mode";
991
992 // Remember user proceeds through SSL interstitials for a specified amount of 982 // Remember user proceeds through SSL interstitials for a specified amount of
993 // time. In particular, remember these decisions through session restart. The 983 // time. In particular, remember these decisions through session restart. The
994 // time delta to remember certificates should be specified in seconds. 984 // time delta to remember certificates should be specified in seconds.
995 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; 985 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions";
996 986
997 // If set, the app list will forget it has been installed on startup. Note this 987 // If set, the app list will forget it has been installed on startup. Note this
998 // doesn't prevent the app list from running, it just makes Chrome think the app 988 // doesn't prevent the app list from running, it just makes Chrome think the app
999 // list hasn't been enabled (as in kEnableAppList) yet. 989 // list hasn't been enabled (as in kEnableAppList) yet.
1000 const char kResetAppListInstallState[] = "reset-app-list-install-state"; 990 const char kResetAppListInstallState[] = "reset-app-list-install-state";
1001 991
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 1388
1399 // ----------------------------------------------------------------------------- 1389 // -----------------------------------------------------------------------------
1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1401 // 1391 //
1402 // You were going to just dump your switches here, weren't you? Instead, please 1392 // You were going to just dump your switches here, weren't you? Instead, please
1403 // put them in alphabetical order above, or in order inside the appropriate 1393 // put them in alphabetical order above, or in order inside the appropriate
1404 // ifdef at the bottom. The order should match the header. 1394 // ifdef at the bottom. The order should match the header.
1405 // ----------------------------------------------------------------------------- 1395 // -----------------------------------------------------------------------------
1406 1396
1407 } // namespace switches 1397 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698