| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 6901d29d53d926dec05af0ee695c18e7bcfc02f2..437fdf937b7199187cbc6f1d74fffdf22e87ae22 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -703,6 +703,18 @@ const char kPrerenderFromOmniboxSwitchValueDisabled[] = "disabled";
|
| // enabled: Guaranteed prerendering.
|
| const char kPrerenderFromOmniboxSwitchValueEnabled[] = "enabled";
|
|
|
| +// Network prediction options for service worker controlled pages.
|
| +// - PreconnectOnly (default): Execute the preconnection on navigations.
|
| +// - StartServiceWorkerAndPreconnect: Start the service worker and execute the
|
| +// preconnection in parallel on navigations.
|
| +// - StartServiceWorkerAndDeferPreconnect: Start the service worker on
|
| +// navigations, and defer the preconnection until the service worker startup.
|
| +// - StartServiceWorkerOnly: Start the service worker on navigations and do not
|
| +// execute the preconnection.
|
| +// See https://crbug.com/727544 for the details.
|
| +const char kNetworkPredictionOptionsForServiceWorker[] =
|
| + "network-prediction-options-for-service-worker";
|
| +
|
| // Use IPv6 only for privet HTTP.
|
| const char kPrivetIPv6Only[] = "privet-ipv6-only";
|
|
|
|
|