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

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

Issue 10830268: Allow audio system to handle synchronized low-latency audio I/O (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "base/string_number_conversions.h" 14 #include "base/string_number_conversions.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/prefs/pref_service.h" 17 #include "chrome/browser/prefs/pref_service.h"
18 #include "chrome/browser/prefs/scoped_user_pref_update.h" 18 #include "chrome/browser/prefs/scoped_user_pref_update.h"
19 #include "chrome/common/chrome_content_client.h" 19 #include "chrome/common/chrome_content_client.h"
20 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "content/public/browser/user_metrics.h" 22 #include "content/public/browser/user_metrics.h"
23 #include "grit/generated_resources.h" 23 #include "grit/generated_resources.h"
24 #include "media/base/media_switches.h"
24 #include "ui/app_list/app_list_switches.h" 25 #include "ui/app_list/app_list_switches.h"
25 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
26 #include "ui/base/ui_base_switches.h" 27 #include "ui/base/ui_base_switches.h"
27 #include "ui/gl/gl_switches.h" 28 #include "ui/gl/gl_switches.h"
28 29
29 #if defined(USE_ASH) 30 #if defined(USE_ASH)
30 #include "ash/ash_switches.h" 31 #include "ash/ash_switches.h"
31 #endif 32 #endif
32 33
33 #if defined(USE_AURA) 34 #if defined(USE_AURA)
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 }, 910 },
910 #endif 911 #endif
911 { 912 {
912 "disable-website-settings", // FLAGS:RECORD_UMA 913 "disable-website-settings", // FLAGS:RECORD_UMA
913 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_NAME, 914 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_NAME,
914 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_DESCRIPTION, 915 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_DESCRIPTION,
915 kOsAll, 916 kOsAll,
916 SINGLE_VALUE_TYPE(switches::kDisableWebsiteSettings), 917 SINGLE_VALUE_TYPE(switches::kDisableWebsiteSettings),
917 }, 918 },
918 { 919 {
920 "enable-webaudio-input",
921 IDS_FLAGS_ENABLE_WEBAUDIO_INPUT_NAME,
922 IDS_FLAGS_ENABLE_WEBAUDIO_INPUT_DESCRIPTION,
923 kOsAll,
924 SINGLE_VALUE_TYPE(switches::kEnableWebAudioInput),
925 },
926 {
919 "enable-contacts", 927 "enable-contacts",
920 IDS_FLAGS_ENABLE_CONTACTS_NAME, 928 IDS_FLAGS_ENABLE_CONTACTS_NAME,
921 IDS_FLAGS_ENABLE_CONTACTS_DESCRIPTION, 929 IDS_FLAGS_ENABLE_CONTACTS_DESCRIPTION,
922 kOsCrOS, 930 kOsCrOS,
923 SINGLE_VALUE_TYPE(switches::kEnableContacts) 931 SINGLE_VALUE_TYPE(switches::kEnableContacts)
924 }, 932 },
925 #if defined(USE_ASH) 933 #if defined(USE_ASH)
926 { "ash-enable-advanced-gestures", 934 { "ash-enable-advanced-gestures",
927 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_NAME, 935 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_NAME,
928 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_DESCRIPTION, 936 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_DESCRIPTION,
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 } 1367 }
1360 1368
1361 const Experiment* GetExperiments(size_t* count) { 1369 const Experiment* GetExperiments(size_t* count) {
1362 *count = num_experiments; 1370 *count = num_experiments;
1363 return experiments; 1371 return experiments;
1364 } 1372 }
1365 1373
1366 } // namespace testing 1374 } // namespace testing
1367 1375
1368 } // namespace about_flags 1376 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698