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

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
« no previous file with comments | « chrome/browser/DEPS ('k') | content/browser/renderer_host/media/audio_renderer_host.h » ('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 <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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 }, 903 },
903 #endif 904 #endif
904 { 905 {
905 "disable-website-settings", // FLAGS:RECORD_UMA 906 "disable-website-settings", // FLAGS:RECORD_UMA
906 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_NAME, 907 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_NAME,
907 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_DESCRIPTION, 908 IDS_FLAGS_DISABLE_WEBSITE_SETTINGS_DESCRIPTION,
908 kOsAll, 909 kOsAll,
909 SINGLE_VALUE_TYPE(switches::kDisableWebsiteSettings), 910 SINGLE_VALUE_TYPE(switches::kDisableWebsiteSettings),
910 }, 911 },
911 { 912 {
913 "enable-webaudio-input",
914 IDS_FLAGS_ENABLE_WEBAUDIO_INPUT_NAME,
915 IDS_FLAGS_ENABLE_WEBAUDIO_INPUT_DESCRIPTION,
916 kOsAll,
917 SINGLE_VALUE_TYPE(switches::kEnableWebAudioInput),
918 },
919 {
912 "enable-contacts", 920 "enable-contacts",
913 IDS_FLAGS_ENABLE_CONTACTS_NAME, 921 IDS_FLAGS_ENABLE_CONTACTS_NAME,
914 IDS_FLAGS_ENABLE_CONTACTS_DESCRIPTION, 922 IDS_FLAGS_ENABLE_CONTACTS_DESCRIPTION,
915 kOsCrOS, 923 kOsCrOS,
916 SINGLE_VALUE_TYPE(switches::kEnableContacts) 924 SINGLE_VALUE_TYPE(switches::kEnableContacts)
917 }, 925 },
918 #if defined(USE_ASH) 926 #if defined(USE_ASH)
919 { "ash-enable-advanced-gestures", 927 { "ash-enable-advanced-gestures",
920 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_NAME, 928 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_NAME,
921 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_DESCRIPTION, 929 IDS_FLAGS_ENABLE_ADVANCED_GESTURES_DESCRIPTION,
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 } 1369 }
1362 1370
1363 const Experiment* GetExperiments(size_t* count) { 1371 const Experiment* GetExperiments(size_t* count) {
1364 *count = num_experiments; 1372 *count = num_experiments;
1365 return experiments; 1373 return experiments;
1366 } 1374 }
1367 1375
1368 } // namespace testing 1376 } // namespace testing
1369 1377
1370 } // namespace about_flags 1378 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | content/browser/renderer_host/media/audio_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698