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

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

Issue 2907263002: [Not for review] Add TRACE_EVENTs and chrome://flags for preconnect
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('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 "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 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 password_manager::features::kEnablePasswordForceSaving)}, 1478 password_manager::features::kEnablePasswordForceSaving)},
1479 {"enable-manual-password-generation", 1479 {"enable-manual-password-generation",
1480 flag_descriptions::kManualPasswordGenerationName, 1480 flag_descriptions::kManualPasswordGenerationName,
1481 flag_descriptions::kManualPasswordGenerationDescription, kOsAll, 1481 flag_descriptions::kManualPasswordGenerationDescription, kOsAll,
1482 FEATURE_VALUE_TYPE( 1482 FEATURE_VALUE_TYPE(
1483 password_manager::features::kEnableManualPasswordGeneration)}, 1483 password_manager::features::kEnableManualPasswordGeneration)},
1484 {"enable-show-autofill-signatures", 1484 {"enable-show-autofill-signatures",
1485 flag_descriptions::kShowAutofillSignaturesName, 1485 flag_descriptions::kShowAutofillSignaturesName,
1486 flag_descriptions::kShowAutofillSignaturesDescription, kOsAll, 1486 flag_descriptions::kShowAutofillSignaturesDescription, kOsAll,
1487 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)}, 1487 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)},
1488
1489 {"enable-predictor-preconnect", flag_descriptions::kPredictorPreconnectName,
1490 flag_descriptions::kPredictorPreconnectDescription, kOsAll,
1491 FEATURE_VALUE_TYPE(features::kPredictorPreconnect)},
1492
1488 {"affiliation-based-matching", 1493 {"affiliation-based-matching",
1489 flag_descriptions::kAffiliationBasedMatchingName, 1494 flag_descriptions::kAffiliationBasedMatchingName,
1490 flag_descriptions::kAffiliationBasedMatchingDescription, kOsAll, 1495 flag_descriptions::kAffiliationBasedMatchingDescription, kOsAll,
1491 FEATURE_VALUE_TYPE(password_manager::features::kAffiliationBasedMatching)}, 1496 FEATURE_VALUE_TYPE(password_manager::features::kAffiliationBasedMatching)},
1492 {"wallet-service-use-sandbox", 1497 {"wallet-service-use-sandbox",
1493 flag_descriptions::kWalletServiceUseSandboxName, 1498 flag_descriptions::kWalletServiceUseSandboxName,
1494 flag_descriptions::kWalletServiceUseSandboxDescription, 1499 flag_descriptions::kWalletServiceUseSandboxDescription,
1495 kOsAndroid | kOsDesktop, 1500 kOsAndroid | kOsDesktop,
1496 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( 1501 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1497 autofill::switches::kWalletServiceUseSandbox, 1502 autofill::switches::kWalletServiceUseSandbox,
(...skipping 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after
3236 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3241 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3237 3242
3238 const FeatureEntry* GetFeatureEntries(size_t* count) { 3243 const FeatureEntry* GetFeatureEntries(size_t* count) {
3239 *count = arraysize(kFeatureEntries); 3244 *count = arraysize(kFeatureEntries);
3240 return kFeatureEntries; 3245 return kFeatureEntries;
3241 } 3246 }
3242 3247
3243 } // namespace testing 3248 } // namespace testing
3244 3249
3245 } // namespace about_flags 3250 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698