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

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

Issue 2676893002: [Android History] Fix chrome://history redirect (Closed)
Patch Set: [Android History] Fix chrome://history redirect Created 3 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/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 2153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 #if defined(OS_ANDROID) 2164 #if defined(OS_ANDROID)
2165 {"enable-expanded-autofill-credit-card-popup", 2165 {"enable-expanded-autofill-credit-card-popup",
2166 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, 2166 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT,
2167 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, 2167 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION,
2168 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2168 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2169 autofill::kAutofillCreditCardPopupLayout, 2169 autofill::kAutofillCreditCardPopupLayout,
2170 kAutofillCreditCardPopupLayoutFeatureVariations, 2170 kAutofillCreditCardPopupLayoutFeatureVariations,
2171 "AutofillCreditCardPopupLayout")}, 2171 "AutofillCreditCardPopupLayout")},
2172 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER, 2172 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER,
2173 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid, 2173 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid,
2174 FEATURE_VALUE_TYPE(chrome::android::kNativeAndroidHistoryManager)}, 2174 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
2175 #endif // OS_ANDROID 2175 #endif // OS_ANDROID
2176 2176
2177 #if defined(OS_WIN) 2177 #if defined(OS_WIN)
2178 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME, 2178 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME,
2179 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin, 2179 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin,
2180 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, 2180 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)},
2181 #endif // OS_WIN 2181 #endif // OS_WIN
2182 2182
2183 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME, 2183 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME,
2184 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll, 2184 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll,
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2411 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2412 2412
2413 const FeatureEntry* GetFeatureEntries(size_t* count) { 2413 const FeatureEntry* GetFeatureEntries(size_t* count) {
2414 *count = arraysize(kFeatureEntries); 2414 *count = arraysize(kFeatureEntries);
2415 return kFeatureEntries; 2415 return kFeatureEntries;
2416 } 2416 }
2417 2417
2418 } // namespace testing 2418 } // namespace testing
2419 2419
2420 } // namespace about_flags 2420 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698