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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use SecurityInterstitialMetricsHelper for extended reporting events Created 5 years, 9 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2250 matching lines...) Expand 10 before | Expand all | Expand 10 after
2261 }, 2261 },
2262 #if defined(OS_CHROMEOS) 2262 #if defined(OS_CHROMEOS)
2263 { 2263 {
2264 "enable-firewall-hole-punching", 2264 "enable-firewall-hole-punching",
2265 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_NAME, 2265 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_NAME,
2266 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_DESCRIPTION, 2266 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_DESCRIPTION,
2267 kOsCrOS, 2267 kOsCrOS,
2268 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirewallHolePunching) 2268 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirewallHolePunching)
2269 }, 2269 },
2270 #endif // defined(OS_CHROMEOS) 2270 #endif // defined(OS_CHROMEOS)
2271 {
2272 "enable-cert-collection",
2273 IDS_ENABLE_INVALID_CERT_COLLECTION,
2274 IDS_ENABLE_INVALID_CERT_COLLECTION_DESCRIPTION,
2275 kOsAll,
2276 SINGLE_VALUE_TYPE(switches::kEnableInvalidCertCollection)
2277 },
2271 2278
2272 // NOTE: Adding new command-line switches requires adding corresponding 2279 // NOTE: Adding new command-line switches requires adding corresponding
2273 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2280 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2274 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2281 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2275 }; 2282 };
2276 2283
2277 const Experiment* experiments = kExperiments; 2284 const Experiment* experiments = kExperiments;
2278 size_t num_experiments = arraysize(kExperiments); 2285 size_t num_experiments = arraysize(kExperiments);
2279 2286
2280 // Stores and encapsulates the little state that about:flags has. 2287 // Stores and encapsulates the little state that about:flags has.
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 } 2871 }
2865 2872
2866 const Experiment* GetExperiments(size_t* count) { 2873 const Experiment* GetExperiments(size_t* count) {
2867 *count = num_experiments; 2874 *count = num_experiments;
2868 return experiments; 2875 return experiments;
2869 } 2876 }
2870 2877
2871 } // namespace testing 2878 } // namespace testing
2872 2879
2873 } // namespace about_flags 2880 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698