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

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

Issue 2445723002: Web MIDI: convert Android native API switch to a field trial (Closed)
Patch Set: rebase Created 4 years, 1 month 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_android.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 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 #if defined(OS_ANDROID) 1677 #if defined(OS_ANDROID)
1678 {"enable-ntp-popular-sites", IDS_FLAGS_NTP_POPULAR_SITES_NAME, 1678 {"enable-ntp-popular-sites", IDS_FLAGS_NTP_POPULAR_SITES_NAME,
1679 IDS_FLAGS_NTP_POPULAR_SITES_DESCRIPTION, kOsAndroid, 1679 IDS_FLAGS_NTP_POPULAR_SITES_DESCRIPTION, kOsAndroid,
1680 ENABLE_DISABLE_VALUE_TYPE(ntp_tiles::switches::kEnableNTPPopularSites, 1680 ENABLE_DISABLE_VALUE_TYPE(ntp_tiles::switches::kEnableNTPPopularSites,
1681 ntp_tiles::switches::kDisableNTPPopularSites)}, 1681 ntp_tiles::switches::kDisableNTPPopularSites)},
1682 {"ntp-switch-to-existing-tab", IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_NAME, 1682 {"ntp-switch-to-existing-tab", IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_NAME,
1683 IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_DESCRIPTION, kOsAndroid, 1683 IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_DESCRIPTION, kOsAndroid,
1684 MULTI_VALUE_TYPE(kNtpSwitchToExistingTabChoices)}, 1684 MULTI_VALUE_TYPE(kNtpSwitchToExistingTabChoices)},
1685 {"use-android-midi-api", IDS_FLAGS_USE_ANDROID_MIDI_API_NAME, 1685 {"use-android-midi-api", IDS_FLAGS_USE_ANDROID_MIDI_API_NAME,
1686 IDS_FLAGS_USE_ANDROID_MIDI_API_DESCRIPTION, kOsAndroid, 1686 IDS_FLAGS_USE_ANDROID_MIDI_API_DESCRIPTION, kOsAndroid,
1687 SINGLE_VALUE_TYPE(switches::kUseAndroidMidiApi)}, 1687 FEATURE_VALUE_TYPE(midi::features::kMidiManagerAndroid)},
1688 #endif // OS_ANDROID 1688 #endif // OS_ANDROID
1689 #if defined(OS_WIN) 1689 #if defined(OS_WIN)
1690 {"trace-export-events-to-etw", IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME, 1690 {"trace-export-events-to-etw", IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME,
1691 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION, kOsWin, 1691 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION, kOsWin,
1692 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)}, 1692 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)},
1693 {"merge-key-char-events", IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_NAME, 1693 {"merge-key-char-events", IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_NAME,
1694 IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_DESCRIPTION, kOsWin, 1694 IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_DESCRIPTION, kOsWin,
1695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMergeKeyCharEvents, 1695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMergeKeyCharEvents,
1696 switches::kDisableMergeKeyCharEvents)}, 1696 switches::kDisableMergeKeyCharEvents)},
1697 {"use-winrt-midi-api", IDS_FLAGS_USE_WINRT_MIDI_API_NAME, 1697 {"use-winrt-midi-api", IDS_FLAGS_USE_WINRT_MIDI_API_NAME,
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
2301 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2301 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2302 2302
2303 const FeatureEntry* GetFeatureEntries(size_t* count) { 2303 const FeatureEntry* GetFeatureEntries(size_t* count) {
2304 *count = arraysize(kFeatureEntries); 2304 *count = arraysize(kFeatureEntries);
2305 return kFeatureEntries; 2305 return kFeatureEntries;
2306 } 2306 }
2307 2307
2308 } // namespace testing 2308 } // namespace testing
2309 2309
2310 } // namespace about_flags 2310 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | media/midi/midi_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698