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

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

Powered by Google App Engine
This is Rietveld 408576698