OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/metrics/chrome_browser_main_extra_parts_metrics.h" | 5 #include "chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/cpu.h" | 11 #include "base/cpu.h" |
| 12 #include "base/macros.h" |
12 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
13 #include "base/metrics/sparse_histogram.h" | 14 #include "base/metrics/sparse_histogram.h" |
14 #include "base/sys_info.h" | 15 #include "base/sys_info.h" |
15 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "build/build_config.h" |
17 #include "chrome/browser/about_flags.h" | 19 #include "chrome/browser/about_flags.h" |
18 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
19 #include "chrome/browser/chrome_browser_main.h" | 21 #include "chrome/browser/chrome_browser_main.h" |
20 #include "chrome/browser/mac/bluetooth_utility.h" | 22 #include "chrome/browser/mac/bluetooth_utility.h" |
21 #include "chrome/browser/shell_integration.h" | 23 #include "chrome/browser/shell_integration.h" |
22 #include "components/flags_ui/pref_service_flags_storage.h" | 24 #include "components/flags_ui/pref_service_flags_storage.h" |
23 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
24 #include "ui/base/touch/touch_device.h" | 26 #include "ui/base/touch/touch_device.h" |
25 #include "ui/base/ui_base_switches.h" | 27 #include "ui/base/ui_base_switches.h" |
26 #include "ui/events/event_switches.h" | 28 #include "ui/events/event_switches.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 } | 378 } |
377 } | 379 } |
378 | 380 |
379 namespace chrome { | 381 namespace chrome { |
380 | 382 |
381 void AddMetricsExtraParts(ChromeBrowserMainParts* main_parts) { | 383 void AddMetricsExtraParts(ChromeBrowserMainParts* main_parts) { |
382 main_parts->AddParts(new ChromeBrowserMainExtraPartsMetrics()); | 384 main_parts->AddParts(new ChromeBrowserMainExtraPartsMetrics()); |
383 } | 385 } |
384 | 386 |
385 } // namespace chrome | 387 } // namespace chrome |
OLD | NEW |