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

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

Issue 2961393002: Omnibox UI Experiments: Hook up elide-after-host feature flag. (Closed)
Patch Set: fix Created 3 years, 5 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 2969 matching lines...) Expand 10 before | Expand all | Expand 10 after
2980 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName, 2980 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName,
2981 flag_descriptions::kEnableHeapProfilingDescription, kOsAll, 2981 flag_descriptions::kEnableHeapProfilingDescription, kOsAll,
2982 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)}, 2982 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)},
2983 2983
2984 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) 2984 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2985 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName, 2985 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName,
2986 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop, 2986 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop,
2987 SINGLE_VALUE_TYPE(switches::kShowCertLink)}, 2987 SINGLE_VALUE_TYPE(switches::kShowCertLink)},
2988 #endif 2988 #endif
2989 2989
2990 {"omnibox-ui-hide-suggestion-url-path", 2990 {"omnibox-ui-elide-suggestion-url-after-host",
2991 flag_descriptions::kOmniboxUIHideSuggestionUrlPathName, 2991 flag_descriptions::kOmniboxUIElideSuggestionUrlAfterHostName,
2992 flag_descriptions::kOmniboxUIHideSuggestionUrlPathDescription, kOsDesktop, 2992 flag_descriptions::kOmniboxUIElideSuggestionUrlAfterHostDescription,
2993 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlPath)}, 2993 kOsDesktop,
2994 FEATURE_VALUE_TYPE(omnibox::kUIExperimentElideSuggestionUrlAfterHost)},
2994 2995
2995 {"omnibox-ui-hide-suggestion-url-scheme", 2996 {"omnibox-ui-hide-suggestion-url-scheme",
2996 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeName, 2997 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeName,
2997 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeDescription, 2998 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeDescription,
2998 kOsDesktop, 2999 kOsDesktop,
2999 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlScheme)}, 3000 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlScheme)},
3000 3001
3001 {"omnibox-ui-hide-suggestion-url-trivial-subdomains", 3002 {"omnibox-ui-hide-suggestion-url-trivial-subdomains",
3002 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsName, 3003 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsName,
3003 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription, 3004 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
3312 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3313 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3313 3314
3314 const FeatureEntry* GetFeatureEntries(size_t* count) { 3315 const FeatureEntry* GetFeatureEntries(size_t* count) {
3315 *count = arraysize(kFeatureEntries); 3316 *count = arraysize(kFeatureEntries);
3316 return kFeatureEntries; 3317 return kFeatureEntries;
3317 } 3318 }
3318 3319
3319 } // namespace testing 3320 } // namespace testing
3320 3321
3321 } // namespace about_flags 3322 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | components/omnibox/browser/autocomplete_match_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698