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

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: First round of review fixes, separate QCManager into separate file Created 4 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 29 matching lines...) Expand all
40 #include "components/error_page/common/error_page_switches.h" 40 #include "components/error_page/common/error_page_switches.h"
41 #include "components/flags_ui/feature_entry_macros.h" 41 #include "components/flags_ui/feature_entry_macros.h"
42 #include "components/flags_ui/flags_storage.h" 42 #include "components/flags_ui/flags_storage.h"
43 #include "components/flags_ui/flags_ui_switches.h" 43 #include "components/flags_ui/flags_ui_switches.h"
44 #include "components/nacl/common/nacl_switches.h" 44 #include "components/nacl/common/nacl_switches.h"
45 #include "components/offline_pages/offline_page_switches.h" 45 #include "components/offline_pages/offline_page_switches.h"
46 #include "components/omnibox/browser/omnibox_switches.h" 46 #include "components/omnibox/browser/omnibox_switches.h"
47 #include "components/password_manager/core/common/password_manager_features.h" 47 #include "components/password_manager/core/common/password_manager_features.h"
48 #include "components/password_manager/core/common/password_manager_switches.h" 48 #include "components/password_manager/core/common/password_manager_switches.h"
49 #include "components/proximity_auth/switches.h" 49 #include "components/proximity_auth/switches.h"
50 #include "components/quirks_client/switches.h"
50 #include "components/search/search_switches.h" 51 #include "components/search/search_switches.h"
51 #include "components/security_state/switches.h" 52 #include "components/security_state/switches.h"
52 #include "components/signin/core/common/signin_switches.h" 53 #include "components/signin/core/common/signin_switches.h"
53 #include "components/sync_driver/sync_driver_switches.h" 54 #include "components/sync_driver/sync_driver_switches.h"
54 #include "components/tracing/tracing_switches.h" 55 #include "components/tracing/tracing_switches.h"
55 #include "components/version_info/version_info.h" 56 #include "components/version_info/version_info.h"
56 #include "content/public/browser/user_metrics.h" 57 #include "content/public/browser/user_metrics.h"
57 #include "content/public/common/content_features.h" 58 #include "content/public/common/content_features.h"
58 #include "content/public/common/content_switches.h" 59 #include "content/public/common/content_switches.h"
59 #include "grit/components_strings.h" 60 #include "grit/components_strings.h"
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 chromeos::switches::kDisableOfficeEditingComponentApp), 923 chromeos::switches::kDisableOfficeEditingComponentApp),
923 }, 924 },
924 { 925 {
925 "disable-display-color-calibration", 926 "disable-display-color-calibration",
926 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME, 927 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_NAME,
927 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, 928 IDS_FLAGS_DISPLAY_COLOR_CALIBRATION_DESCRIPTION,
928 kOsCrOS, 929 kOsCrOS,
929 SINGLE_DISABLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration), 930 SINGLE_DISABLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration),
930 }, 931 },
931 { 932 {
933 "enable-display-quirks-client",
934 IDS_FLAGS_ENABLE_DISPLAY_QUIRKS_CLIENT_NAME,
935 IDS_FLAGS_ENABLE_DISPLAY_QUIRKS_CLIENT_DESCRIPTION,
936 kOsCrOS,
937 SINGLE_VALUE_TYPE(quirks_client::switches::kEnableDisplayQuirksClient),
938 },
939 {
932 "ash-disable-screen-orientation-lock", 940 "ash-disable-screen-orientation-lock",
933 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME, 941 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME,
934 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, 942 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION,
935 kOsCrOS, 943 kOsCrOS,
936 SINGLE_DISABLE_VALUE_TYPE(ash::switches::kAshDisableScreenOrientationLock), 944 SINGLE_DISABLE_VALUE_TYPE(ash::switches::kAshDisableScreenOrientationLock),
937 }, 945 },
938 #endif // defined(OS_CHROMEOS) 946 #endif // defined(OS_CHROMEOS)
939 { 947 {
940 "disable-accelerated-video-decode", 948 "disable-accelerated-video-decode",
941 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME, 949 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME,
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2362 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2355 2363
2356 const FeatureEntry* GetFeatureEntries(size_t* count) { 2364 const FeatureEntry* GetFeatureEntries(size_t* count) {
2357 *count = arraysize(kFeatureEntries); 2365 *count = arraysize(kFeatureEntries);
2358 return kFeatureEntries; 2366 return kFeatureEntries;
2359 } 2367 }
2360 2368
2361 } // namespace testing 2369 } // namespace testing
2362 2370
2363 } // namespace about_flags 2371 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698