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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Patch Set: Remove Driver::CancelRequest(). Simplify tests. Created 5 years 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 431
432 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint 432 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint
433 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; 433 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2";
434 434
435 // On platforms that support it, enables smooth scroll animation. 435 // On platforms that support it, enables smooth scroll animation.
436 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 436 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
437 437
438 // Enable spatial navigation 438 // Enable spatial navigation
439 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; 439 const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
440 440
441 // Enables implementation of the Cache-Control: stale-while-revalidate directive
442 // which permits servers to allow the use of stale resources while revalidation
443 // proceeds in the background.
444 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
445
441 // Enables StatsTable, logging statistics to a global named shared memory table. 446 // Enables StatsTable, logging statistics to a global named shared memory table.
442 const char kEnableStatsTable[] = "enable-stats-table"; 447 const char kEnableStatsTable[] = "enable-stats-table";
443 448
444 // Blocks all insecure requests from secure contexts, and prevents the user 449 // Blocks all insecure requests from secure contexts, and prevents the user
445 // from overriding that decision. 450 // from overriding that decision.
446 const char kEnableStrictMixedContentChecking[] = 451 const char kEnableStrictMixedContentChecking[] =
447 "enable-strict-mixed-content-checking"; 452 "enable-strict-mixed-content-checking";
448 453
449 // Blocks insecure usage of number of powerful features (geolocation, for 454 // Blocks insecure usage of number of powerful features (geolocation, for
450 // example) that we haven't yet deprecated for the web at large. 455 // example) that we haven't yet deprecated for the web at large.
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 // Windows Vista and later. 987 // Windows Vista and later.
983 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
984 #endif 989 #endif
985 990
986 // Enable the Mojo shell connection in renderers. 991 // Enable the Mojo shell connection in renderers.
987 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection"; 992 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection";
988 993
989 // Don't dump stuff here, follow the same order as the header. 994 // Don't dump stuff here, follow the same order as the header.
990 995
991 } // namespace switches 996 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698