| Index: chrome/common/chrome_switches.cc
|
| ===================================================================
|
| --- chrome/common/chrome_switches.cc (revision 132793)
|
| +++ chrome/common/chrome_switches.cc (working copy)
|
| @@ -854,6 +854,13 @@
|
| // you're for some reason tempted to pass them both.
|
| const char kNoFirstRun[] = "no-first-run";
|
|
|
| +// Support a separate switch that enables the v8 playback extension.
|
| +// The extension causes javascript calls to Date.now() and Math.random()
|
| +// to return consistent values, such that subsequent loads of the same
|
| +// page will result in consistent js-generated data and XHR requests.
|
| +// Pages may still be able to generate inconsistent data from plugins.
|
| +const char kNoJsRandomness[] = "no-js-randomness";
|
| +
|
| // Don't send hyperlink auditing pings
|
| const char kNoPings[] = "no-pings";
|
|
|
| @@ -934,6 +941,10 @@
|
| // Specifies the path to the user data folder for the parent profile.
|
| const char kParentProfile[] = "parent-profile";
|
|
|
| +// Read previously recorded data from the cache. Only cached data is read.
|
| +// See kRecordMode.
|
| +const char kPlaybackMode[] = "playback-mode";
|
| +
|
| // Controls the PPAPI Flash field trial. Valid values are defined below. If an
|
| // unknown value is supplied on the command line, the switch is ignored.
|
| // TODO(yzshen): Remove this flag when the field trial is over.
|
| @@ -1037,6 +1048,12 @@
|
| // NOTE: This is only implemented for Views.
|
| const char kPurgeMemoryButton[] = "purge-memory-button";
|
|
|
| +// Chrome supports a playback and record mode. Record mode saves *everything*
|
| +// to the cache. Playback mode reads data exclusively from the cache. This
|
| +// allows us to record a session into the cache and then replay it at will.
|
| +// See also kPlaybackMode.
|
| +const char kRecordMode[] = "record-mode";
|
| +
|
| // Reloads pages that have been killed when they are next focused by the user.
|
| const char kReloadKilledTabs[] = "reload-killed-tabs";
|
|
|
|
|