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

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: Compile fix for ResourcePrefreshPredictor. Created 6 years, 2 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 583
584 // Enables participation in the field trial for user feedback to spelling 584 // Enables participation in the field trial for user feedback to spelling
585 // service. 585 // service.
586 const char kEnableSpellingFeedbackFieldTrial[] = 586 const char kEnableSpellingFeedbackFieldTrial[] =
587 "enable-spelling-feedback-field-trial"; 587 "enable-spelling-feedback-field-trial";
588 588
589 // Enables a feature that holds back some SSLConnectJobs in order to 589 // Enables a feature that holds back some SSLConnectJobs in order to
590 // minimize the number of full SSL handshakes completed. 590 // minimize the number of full SSL handshakes completed.
591 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting"; 591 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting";
592 592
593 // Enables implementation of the Cache-Control: stale-while-revalidate directive
594 // which permits servers to allow the use of stale resources while revalidation
595 // proceeds in the background.
596 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
597
593 // Enables an experimental hosted app experience. 598 // Enables an experimental hosted app experience.
594 const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps"; 599 const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps";
595 600
596 // Enables the suggestions service. 601 // Enables the suggestions service.
597 const char kEnableSuggestionsService[] = "enable-suggestions-service"; 602 const char kEnableSuggestionsService[] = "enable-suggestions-service";
598 603
599 // Enables the supervised user host blacklist. 604 // Enables the supervised user host blacklist.
600 const char kEnableSupervisedUserBlacklist[] = 605 const char kEnableSupervisedUserBlacklist[] =
601 "enable-supervised-user-blacklist"; 606 "enable-supervised-user-blacklist";
602 607
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 1359
1355 // ----------------------------------------------------------------------------- 1360 // -----------------------------------------------------------------------------
1356 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1361 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1357 // 1362 //
1358 // You were going to just dump your switches here, weren't you? Instead, please 1363 // You were going to just dump your switches here, weren't you? Instead, please
1359 // put them in alphabetical order above, or in order inside the appropriate 1364 // put them in alphabetical order above, or in order inside the appropriate
1360 // ifdef at the bottom. The order should match the header. 1365 // ifdef at the bottom. The order should match the header.
1361 // ----------------------------------------------------------------------------- 1366 // -----------------------------------------------------------------------------
1362 1367
1363 } // namespace switches 1368 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698