OLD | NEW |
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 "ui/base/l10n/l10n_util.h" | 24 #include "ui/base/l10n/l10n_util.h" |
25 #include "ui/base/ui_base_switches.h" | 25 #include "ui/base/ui_base_switches.h" |
26 #include "ui/gfx/gl/gl_switches.h" | 26 #include "ui/gl/gl_switches.h" |
27 | 27 |
28 #if defined(USE_ASH) | 28 #if defined(USE_ASH) |
29 #include "ash/ash_switches.h" | 29 #include "ash/ash_switches.h" |
30 #endif | 30 #endif |
31 | 31 |
32 #if defined(USE_AURA) | 32 #if defined(USE_AURA) |
33 #include "ui/aura/aura_switches.h" | 33 #include "ui/aura/aura_switches.h" |
34 #endif | 34 #endif |
35 | 35 |
36 using content::UserMetricsAction; | 36 using content::UserMetricsAction; |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 } | 1142 } |
1143 | 1143 |
1144 const Experiment* GetExperiments(size_t* count) { | 1144 const Experiment* GetExperiments(size_t* count) { |
1145 *count = num_experiments; | 1145 *count = num_experiments; |
1146 return experiments; | 1146 return experiments; |
1147 } | 1147 } |
1148 | 1148 |
1149 } // namespace testing | 1149 } // namespace testing |
1150 | 1150 |
1151 } // namespace about_flags | 1151 } // namespace about_flags |
OLD | NEW |