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

Side by Side 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 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 965
966 // Simulates that current version is outdated. 966 // Simulates that current version is outdated.
967 const char kSimulateOutdated[] = "simulate-outdated"; 967 const char kSimulateOutdated[] = "simulate-outdated";
968 968
969 // Simulates that current version is outdated and auto-update is off. 969 // Simulates that current version is outdated and auto-update is off.
970 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; 970 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au";
971 971
972 // Simulates an update being available. 972 // Simulates an update being available.
973 const char kSimulateUpgrade[] = "simulate-upgrade"; 973 const char kSimulateUpgrade[] = "simulate-upgrade";
974 974
975 // Skips reencoding bitmaps as PNGs when the encoded data is unavailable
976 // during SKP capture. This allows for obtaining an accurate sample of
977 // the types of images on the web, rather than being weighted towards PNGs
978 // that we have encoded ourselves.
979 const char kSkipReencodingOnSKPCapture[] = "skip-reencoding-on-skp-capture";
980
975 // Speculative resource prefetching. 981 // Speculative resource prefetching.
976 const char kSpeculativeResourcePrefetching[] = 982 const char kSpeculativeResourcePrefetching[] =
977 "speculative-resource-prefetching"; 983 "speculative-resource-prefetching";
978 984
979 // Speculative resource prefetching is disabled. 985 // Speculative resource prefetching is disabled.
980 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 986 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
981 987
982 // Speculative resource prefetching will only learn about resources that need to 988 // Speculative resource prefetching will only learn about resources that need to
983 // be prefetched but will not prefetch them. 989 // be prefetched but will not prefetch them.
984 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 990 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1383
1378 // ----------------------------------------------------------------------------- 1384 // -----------------------------------------------------------------------------
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1380 // 1386 //
1381 // You were going to just dump your switches here, weren't you? Instead, please 1387 // You were going to just dump your switches here, weren't you? Instead, please
1382 // put them in alphabetical order above, or in order inside the appropriate 1388 // put them in alphabetical order above, or in order inside the appropriate
1383 // ifdef at the bottom. The order should match the header. 1389 // ifdef at the bottom. The order should match the header.
1384 // ----------------------------------------------------------------------------- 1390 // -----------------------------------------------------------------------------
1385 1391
1386 } // namespace switches 1392 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698