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

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

Issue 2405493002: Clean up session crashed bubble field trial & switches. (Closed)
Patch Set: Add a crbug TODO. Created 4 years, 2 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 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1389 switches::kDisablePermissionsBlacklist)}, 1389 switches::kDisablePermissionsBlacklist)},
1390 {"enable-single-click-autofill", IDS_FLAGS_SINGLE_CLICK_AUTOFILL_NAME, 1390 {"enable-single-click-autofill", IDS_FLAGS_SINGLE_CLICK_AUTOFILL_NAME,
1391 IDS_FLAGS_SINGLE_CLICK_AUTOFILL_DESCRIPTION, kOsAll, 1391 IDS_FLAGS_SINGLE_CLICK_AUTOFILL_DESCRIPTION, kOsAll,
1392 ENABLE_DISABLE_VALUE_TYPE( 1392 ENABLE_DISABLE_VALUE_TYPE(
1393 autofill::switches::kEnableSingleClickAutofill, 1393 autofill::switches::kEnableSingleClickAutofill,
1394 autofill::switches::kDisableSingleClickAutofill)}, 1394 autofill::switches::kDisableSingleClickAutofill)},
1395 {"enable-site-engagement-service", IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_NAME, 1395 {"enable-site-engagement-service", IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_NAME,
1396 IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_DESCRIPTION, kOsAll, 1396 IDS_FLAGS_SITE_ENGAGEMENT_SERVICE_DESCRIPTION, kOsAll,
1397 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService, 1397 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSiteEngagementService,
1398 switches::kDisableSiteEngagementService)}, 1398 switches::kDisableSiteEngagementService)},
1399 {"enable-session-crashed-bubble", IDS_FLAGS_SESSION_CRASHED_BUBBLE_NAME,
1400 IDS_FLAGS_SESSION_CRASHED_BUBBLE_DESCRIPTION, kOsWin | kOsLinux,
1401 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSessionCrashedBubble,
1402 switches::kDisableSessionCrashedBubble)},
1403 {"disable-cast-streaming-hw-encoding", 1399 {"disable-cast-streaming-hw-encoding",
1404 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME, 1400 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_NAME,
1405 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION, kOsAll, 1401 IDS_FLAGS_CAST_STREAMING_HW_ENCODING_DESCRIPTION, kOsAll,
1406 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)}, 1402 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableCastStreamingHWEncoding)},
1407 #if defined(OS_ANDROID) 1403 #if defined(OS_ANDROID)
1408 {"prefetch-search-results", IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, 1404 {"prefetch-search-results", IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME,
1409 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, kOsAndroid, 1405 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, kOsAndroid,
1410 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults)}, 1406 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults)},
1411 #endif 1407 #endif
1412 {"disable-threaded-scrolling", IDS_FLAGS_THREADED_SCROLLING_NAME, 1408 {"disable-threaded-scrolling", IDS_FLAGS_THREADED_SCROLLING_NAME,
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2301 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2306 2302
2307 const FeatureEntry* GetFeatureEntries(size_t* count) { 2303 const FeatureEntry* GetFeatureEntries(size_t* count) {
2308 *count = arraysize(kFeatureEntries); 2304 *count = arraysize(kFeatureEntries);
2309 return kFeatureEntries; 2305 return kFeatureEntries;
2310 } 2306 }
2311 2307
2312 } // namespace testing 2308 } // namespace testing
2313 2309
2314 } // namespace about_flags 2310 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698