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

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

Issue 2016883003: Remove Quirks flag, limit server retries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « chrome/app/chromeos_strings.grdp ('k') | components/quirks.gypi » ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "components/flags_ui/feature_entry_macros.h" 42 #include "components/flags_ui/feature_entry_macros.h"
43 #include "components/flags_ui/flags_storage.h" 43 #include "components/flags_ui/flags_storage.h"
44 #include "components/flags_ui/flags_ui_switches.h" 44 #include "components/flags_ui/flags_ui_switches.h"
45 #include "components/nacl/common/nacl_switches.h" 45 #include "components/nacl/common/nacl_switches.h"
46 #include "components/network_session_configurator/switches.h" 46 #include "components/network_session_configurator/switches.h"
47 #include "components/ntp_tiles/switches.h" 47 #include "components/ntp_tiles/switches.h"
48 #include "components/offline_pages/offline_page_feature.h" 48 #include "components/offline_pages/offline_page_feature.h"
49 #include "components/omnibox/browser/omnibox_switches.h" 49 #include "components/omnibox/browser/omnibox_switches.h"
50 #include "components/password_manager/core/common/password_manager_features.h" 50 #include "components/password_manager/core/common/password_manager_features.h"
51 #include "components/proximity_auth/switches.h" 51 #include "components/proximity_auth/switches.h"
52 #include "components/quirks/switches.h"
53 #include "components/search/search_switches.h" 52 #include "components/search/search_switches.h"
54 #include "components/security_state/switches.h" 53 #include "components/security_state/switches.h"
55 #include "components/signin/core/common/signin_switches.h" 54 #include "components/signin/core/common/signin_switches.h"
56 #include "components/sync_driver/sync_driver_switches.h" 55 #include "components/sync_driver/sync_driver_switches.h"
57 #include "components/tracing/tracing_switches.h" 56 #include "components/tracing/tracing_switches.h"
58 #include "components/translate/core/browser/translate_prefs.h" 57 #include "components/translate/core/browser/translate_prefs.h"
59 #include "components/version_info/version_info.h" 58 #include "components/version_info/version_info.h"
60 #include "content/public/browser/user_metrics.h" 59 #include "content/public/browser/user_metrics.h"
61 #include "content/public/common/content_features.h" 60 #include "content/public/common/content_features.h"
62 #include "content/public/common/content_switches.h" 61 #include "content/public/common/content_switches.h"
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 SINGLE_DISABLE_VALUE_TYPE( 857 SINGLE_DISABLE_VALUE_TYPE(
859 chromeos::switches::kDisableOfficeEditingComponentApp), 858 chromeos::switches::kDisableOfficeEditingComponentApp),
860 }, 859 },
861 { 860 {
862 "disable-display-color-calibration", 861 "disable-display-color-calibration",
863 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME, 862 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME,
864 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, kOsCrOS, 863 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, kOsCrOS,
865 SINGLE_DISABLE_VALUE_TYPE(::switches::kDisableDisplayColorCalibration), 864 SINGLE_DISABLE_VALUE_TYPE(::switches::kDisableDisplayColorCalibration),
866 }, 865 },
867 { 866 {
868 "disable-quirks-client", IDS_FLAGS_DISABLE_QUIRKS_CLIENT_NAME,
869 IDS_FLAGS_DISABLE_QUIRKS_CLIENT_DESCRIPTION, kOsCrOS,
870 SINGLE_VALUE_TYPE(quirks::switches::kDisableQuirksClient),
871 },
872 {
873 "ash-disable-screen-orientation-lock", 867 "ash-disable-screen-orientation-lock",
874 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME, 868 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME,
875 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS, 869 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS,
876 SINGLE_DISABLE_VALUE_TYPE( 870 SINGLE_DISABLE_VALUE_TYPE(
877 ash::switches::kAshDisableScreenOrientationLock), 871 ash::switches::kAshDisableScreenOrientationLock),
878 }, 872 },
879 #endif // defined(OS_CHROMEOS) 873 #endif // defined(OS_CHROMEOS)
880 { 874 {
881 "disable-accelerated-video-decode", 875 "disable-accelerated-video-decode",
882 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME, 876 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME,
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2085 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2092 2086
2093 const FeatureEntry* GetFeatureEntries(size_t* count) { 2087 const FeatureEntry* GetFeatureEntries(size_t* count) {
2094 *count = arraysize(kFeatureEntries); 2088 *count = arraysize(kFeatureEntries);
2095 return kFeatureEntries; 2089 return kFeatureEntries;
2096 } 2090 }
2097 2091
2098 } // namespace testing 2092 } // namespace testing
2099 2093
2100 } // namespace about_flags 2094 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | components/quirks.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698