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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1710553002: Add option for SKP capture without reencoding images (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 9fe485ed44e7648329690d38ecec381c3d78e4cf..aed7cc158f9967926b967b5d1265530420170c5d 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -972,6 +972,12 @@ const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au";
// Simulates an update being available.
const char kSimulateUpgrade[] = "simulate-upgrade";
+// Skips reencoding bitmaps as PNGs when the encoded data is unavailable
+// during SKP capture. This allows for obtaining an accurate sample of
+// the types of images on the web, rather than being weighted towards PNGs
+// that we have encoded ourselves.
+const char kSkipReencodingOnSKPCapture[] = "skip-reencoding-on-skp-capture";
+
// Speculative resource prefetching.
const char kSpeculativeResourcePrefetching[] =
"speculative-resource-prefetching";

Powered by Google App Engine
This is Rietveld 408576698