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

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

Issue 1528963002: Quirks Client for downloading and providing display profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stevenjb@'s latest code review (small tweaks) Created 4 years, 9 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 30 matching lines...) Expand all
41 #include "components/error_page/common/error_page_switches.h" 41 #include "components/error_page/common/error_page_switches.h"
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/offline_pages/offline_page_feature.h" 46 #include "components/offline_pages/offline_page_feature.h"
47 #include "components/offline_pages/offline_page_switches.h" 47 #include "components/offline_pages/offline_page_switches.h"
48 #include "components/omnibox/browser/omnibox_switches.h" 48 #include "components/omnibox/browser/omnibox_switches.h"
49 #include "components/password_manager/core/common/password_manager_features.h" 49 #include "components/password_manager/core/common/password_manager_features.h"
50 #include "components/proximity_auth/switches.h" 50 #include "components/proximity_auth/switches.h"
51 #include "components/quirks/switches.h"
51 #include "components/search/search_switches.h" 52 #include "components/search/search_switches.h"
52 #include "components/security_state/switches.h" 53 #include "components/security_state/switches.h"
53 #include "components/signin/core/common/signin_switches.h" 54 #include "components/signin/core/common/signin_switches.h"
54 #include "components/sync_driver/sync_driver_switches.h" 55 #include "components/sync_driver/sync_driver_switches.h"
55 #include "components/tracing/tracing_switches.h" 56 #include "components/tracing/tracing_switches.h"
56 #include "components/version_info/version_info.h" 57 #include "components/version_info/version_info.h"
57 #include "content/public/browser/user_metrics.h" 58 #include "content/public/browser/user_metrics.h"
58 #include "content/public/common/content_features.h" 59 #include "content/public/common/content_features.h"
59 #include "content/public/common/content_switches.h" 60 #include "content/public/common/content_switches.h"
60 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h" 61 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h"
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 chromeos::switches::kDisableOfficeEditingComponentApp), 824 chromeos::switches::kDisableOfficeEditingComponentApp),
824 }, 825 },
825 { 826 {
826 "disable-display-color-calibration", 827 "disable-display-color-calibration",
827 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME, 828 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME,
828 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, kOsCrOS, 829 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, kOsCrOS,
829 SINGLE_DISABLE_VALUE_TYPE( 830 SINGLE_DISABLE_VALUE_TYPE(
830 ui::switches::kDisableDisplayColorCalibration), 831 ui::switches::kDisableDisplayColorCalibration),
831 }, 832 },
832 { 833 {
834 "enable-quirks-client", IDS_FLAGS_ENABLE_QUIRKS_CLIENT_NAME,
835 IDS_FLAGS_ENABLE_QUIRKS_CLIENT_DESCRIPTION, kOsCrOS,
836 SINGLE_VALUE_TYPE(quirks::switches::kEnableQuirksClient),
837 },
838 {
833 "ash-disable-screen-orientation-lock", 839 "ash-disable-screen-orientation-lock",
834 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME, 840 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME,
835 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS, 841 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS,
836 SINGLE_DISABLE_VALUE_TYPE( 842 SINGLE_DISABLE_VALUE_TYPE(
837 ash::switches::kAshDisableScreenOrientationLock), 843 ash::switches::kAshDisableScreenOrientationLock),
838 }, 844 },
839 #endif // defined(OS_CHROMEOS) 845 #endif // defined(OS_CHROMEOS)
840 { 846 {
841 "disable-accelerated-video-decode", 847 "disable-accelerated-video-decode",
842 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME, 848 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME,
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2015 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2010 2016
2011 const FeatureEntry* GetFeatureEntries(size_t* count) { 2017 const FeatureEntry* GetFeatureEntries(size_t* count) {
2012 *count = arraysize(kFeatureEntries); 2018 *count = arraysize(kFeatureEntries);
2013 return kFeatureEntries; 2019 return kFeatureEntries;
2014 } 2020 }
2015 2021
2016 } // namespace testing 2022 } // namespace testing
2017 2023
2018 } // namespace about_flags 2024 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698