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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove --disable-stale-while-revalidate flag and strengthen must-revalidate. Created 6 years, 3 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 "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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 // Enables participation in the field trial for user feedback to spelling 594 // Enables participation in the field trial for user feedback to spelling
595 // service. 595 // service.
596 const char kEnableSpellingFeedbackFieldTrial[] = 596 const char kEnableSpellingFeedbackFieldTrial[] =
597 "enable-spelling-feedback-field-trial"; 597 "enable-spelling-feedback-field-trial";
598 598
599 // Enables a feature that holds back some SSLConnectJobs in order to 599 // Enables a feature that holds back some SSLConnectJobs in order to
600 // minimize the number of full SSL handshakes completed. 600 // minimize the number of full SSL handshakes completed.
601 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting"; 601 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting";
602 602
603 // Enables implementation of the Cache-Control: stale-while-revalidate directive
604 // which permits servers to allow the use of stale resources while revalidation
605 // proceeds in the background.
606 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
607
603 // Enables an experimental hosted app experience. 608 // Enables an experimental hosted app experience.
604 const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps"; 609 const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps";
605 610
606 // Enables the suggestions service. 611 // Enables the suggestions service.
607 const char kEnableSuggestionsService[] = "enable-suggestions-service"; 612 const char kEnableSuggestionsService[] = "enable-suggestions-service";
608 613
609 // Enables synced notifications. 614 // Enables synced notifications.
610 const char kEnableSyncSyncedNotifications[] = 615 const char kEnableSyncSyncedNotifications[] =
611 "enable-sync-synced-notifications"; 616 "enable-sync-synced-notifications";
612 617
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1368
1364 // ----------------------------------------------------------------------------- 1369 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1370 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1371 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1372 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1373 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1374 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1375 // -----------------------------------------------------------------------------
1371 1376
1372 } // namespace switches 1377 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698