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

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: Use histograms instead of user actions. 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint 429 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint
430 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; 430 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2";
431 431
432 // On platforms that support it, enables smooth scroll animation. 432 // On platforms that support it, enables smooth scroll animation.
433 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 433 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
434 434
435 // Enable spatial navigation 435 // Enable spatial navigation
436 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; 436 const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
437 437
438 // Enables implementation of the Cache-Control: stale-while-revalidate directive
439 // which permits servers to allow the use of stale resources while revalidation
440 // proceeds in the background.
441 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
442
438 // Enables StatsTable, logging statistics to a global named shared memory table. 443 // Enables StatsTable, logging statistics to a global named shared memory table.
439 const char kEnableStatsTable[] = "enable-stats-table"; 444 const char kEnableStatsTable[] = "enable-stats-table";
440 445
441 // Blocks all insecure requests from secure contexts, and prevents the user 446 // Blocks all insecure requests from secure contexts, and prevents the user
442 // from overriding that decision. 447 // from overriding that decision.
443 const char kEnableStrictMixedContentChecking[] = 448 const char kEnableStrictMixedContentChecking[] =
444 "enable-strict-mixed-content-checking"; 449 "enable-strict-mixed-content-checking";
445 450
446 // Blocks insecure usage of number of powerful features (geolocation, for 451 // Blocks insecure usage of number of powerful features (geolocation, for
447 // example) that we haven't yet deprecated for the web at large. 452 // example) that we haven't yet deprecated for the web at large.
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 // Windows Vista and later. 984 // Windows Vista and later.
980 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 985 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
981 #endif 986 #endif
982 987
983 // Enable the Mojo shell connection in renderers. 988 // Enable the Mojo shell connection in renderers.
984 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection"; 989 const char kEnableMojoShellConnection[] = "enable-mojo-shell-connection";
985 990
986 // Don't dump stuff here, follow the same order as the header. 991 // Don't dump stuff here, follow the same order as the header.
987 992
988 } // namespace switches 993 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698