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

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: set callback to DoNothing close to where it's used 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 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2214 }, 2214 },
2215 #if defined(OS_CHROMEOS) && defined(USE_OZONE) 2215 #if defined(OS_CHROMEOS) && defined(USE_OZONE)
2216 { 2216 {
2217 "ozone-test-single-overlay-support", 2217 "ozone-test-single-overlay-support",
2218 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY, 2218 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY,
2219 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY_DESCRIPTION, 2219 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY_DESCRIPTION,
2220 kOsCrOS, 2220 kOsCrOS,
2221 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) 2221 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport)
2222 }, 2222 },
2223 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) 2223 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE)
2224 {
2225 "enable-cert-collection",
2226 IDS_ENABLE_INVALID_CERT_COLLECTION,
2227 IDS_ENABLE_INVALID_CERT_COLLECTION_DESCRIPTION,
2228 kOsAll,
2229 SINGLE_VALUE_TYPE(switches::kEnableInvalidCertCollection)
2230 },
2224 2231
2225 // NOTE: Adding new command-line switches requires adding corresponding 2232 // NOTE: Adding new command-line switches requires adding corresponding
2226 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2233 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2227 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2234 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2228 }; 2235 };
2229 2236
2230 const Experiment* experiments = kExperiments; 2237 const Experiment* experiments = kExperiments;
2231 size_t num_experiments = arraysize(kExperiments); 2238 size_t num_experiments = arraysize(kExperiments);
2232 2239
2233 // Stores and encapsulates the little state that about:flags has. 2240 // Stores and encapsulates the little state that about:flags has.
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
2817 } 2824 }
2818 2825
2819 const Experiment* GetExperiments(size_t* count) { 2826 const Experiment* GetExperiments(size_t* count) {
2820 *count = num_experiments; 2827 *count = num_experiments;
2821 return experiments; 2828 return experiments;
2822 } 2829 }
2823 2830
2824 } // namespace testing 2831 } // namespace testing
2825 2832
2826 } // namespace about_flags 2833 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698