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

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

Issue 2352013002: MidiManagerWinrt as base::FeatureList feature (Closed)
Patch Set: fix histograms.xml Created 4 years, 3 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 | « no previous file | media/midi/midi_manager_win.cc » ('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 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 #if defined(OS_WIN) 1747 #if defined(OS_WIN)
1748 {"trace-export-events-to-etw", IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME, 1748 {"trace-export-events-to-etw", IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME,
1749 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION, kOsWin, 1749 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION, kOsWin,
1750 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)}, 1750 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)},
1751 {"merge-key-char-events", IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_NAME, 1751 {"merge-key-char-events", IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_NAME,
1752 IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_DESCRIPTION, kOsWin, 1752 IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_DESCRIPTION, kOsWin,
1753 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMergeKeyCharEvents, 1753 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMergeKeyCharEvents,
1754 switches::kDisableMergeKeyCharEvents)}, 1754 switches::kDisableMergeKeyCharEvents)},
1755 {"use-winrt-midi-api", IDS_FLAGS_USE_WINRT_MIDI_API_NAME, 1755 {"use-winrt-midi-api", IDS_FLAGS_USE_WINRT_MIDI_API_NAME,
1756 IDS_FLAGS_USE_WINRT_MIDI_API_DESCRIPTION, kOsWin, 1756 IDS_FLAGS_USE_WINRT_MIDI_API_DESCRIPTION, kOsWin,
1757 SINGLE_VALUE_TYPE(switches::kUseWinrtMidiApi)}, 1757 FEATURE_VALUE_TYPE(media::midi::features::kMidiManagerWinrt)},
1758 #endif // defined(OS_WIN) 1758 #endif // defined(OS_WIN)
1759 #if BUILDFLAG(ENABLE_BACKGROUND) 1759 #if BUILDFLAG(ENABLE_BACKGROUND)
1760 {"enable-push-api-background-mode", IDS_FLAGS_PUSH_API_BACKGROUND_MODE_NAME, 1760 {"enable-push-api-background-mode", IDS_FLAGS_PUSH_API_BACKGROUND_MODE_NAME,
1761 IDS_FLAGS_PUSH_API_BACKGROUND_MODE_DESCRIPTION, kOsMac | kOsWin | kOsLinux, 1761 IDS_FLAGS_PUSH_API_BACKGROUND_MODE_DESCRIPTION, kOsMac | kOsWin | kOsLinux,
1762 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePushApiBackgroundMode, 1762 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePushApiBackgroundMode,
1763 switches::kDisablePushApiBackgroundMode)}, 1763 switches::kDisablePushApiBackgroundMode)},
1764 #endif // BUILDFLAG(ENABLE_BACKGROUND) 1764 #endif // BUILDFLAG(ENABLE_BACKGROUND)
1765 #if defined(OS_CHROMEOS) 1765 #if defined(OS_CHROMEOS)
1766 {"cros-regions-mode", IDS_FLAGS_CROS_REGIONS_MODE_NAME, 1766 {"cros-regions-mode", IDS_FLAGS_CROS_REGIONS_MODE_NAME,
1767 IDS_FLAGS_CROS_REGIONS_MODE_DESCRIPTION, kOsCrOS, 1767 IDS_FLAGS_CROS_REGIONS_MODE_DESCRIPTION, kOsCrOS,
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2305 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2306 2306
2307 const FeatureEntry* GetFeatureEntries(size_t* count) { 2307 const FeatureEntry* GetFeatureEntries(size_t* count) {
2308 *count = arraysize(kFeatureEntries); 2308 *count = arraysize(kFeatureEntries);
2309 return kFeatureEntries; 2309 return kFeatureEntries;
2310 } 2310 }
2311 2311
2312 } // namespace testing 2312 } // namespace testing
2313 2313
2314 } // namespace about_flags 2314 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | media/midi/midi_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698