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/chrome_browser_main.h" | 5 #include "chrome/browser/chrome_browser_main.h" |
6 | 6 |
7 #if defined(TOOLKIT_GTK) | 7 #if defined(TOOLKIT_GTK) |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/metrics/histogram.h" | 22 #include "base/metrics/histogram.h" |
23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
24 #include "base/prefs/json_pref_store.h" | 24 #include "base/prefs/json_pref_store.h" |
25 #include "base/prefs/pref_registry_simple.h" | 25 #include "base/prefs/pref_registry_simple.h" |
26 #include "base/prefs/pref_service.h" | 26 #include "base/prefs/pref_service.h" |
27 #include "base/prefs/pref_value_store.h" | 27 #include "base/prefs/pref_value_store.h" |
28 #include "base/process_info.h" | 28 #include "base/process_info.h" |
29 #include "base/process_util.h" | 29 #include "base/process_util.h" |
30 #include "base/run_loop.h" | 30 #include "base/run_loop.h" |
31 #include "base/string_piece.h" | 31 #include "base/string_piece.h" |
32 #include "base/string_split.h" | |
33 #include "base/strings/string_number_conversions.h" | 32 #include "base/strings/string_number_conversions.h" |
| 33 #include "base/strings/string_split.h" |
34 #include "base/sys_info.h" | 34 #include "base/sys_info.h" |
35 #include "base/sys_string_conversions.h" | 35 #include "base/sys_string_conversions.h" |
36 #include "base/threading/platform_thread.h" | 36 #include "base/threading/platform_thread.h" |
37 #include "base/threading/sequenced_worker_pool.h" | 37 #include "base/threading/sequenced_worker_pool.h" |
38 #include "base/time.h" | 38 #include "base/time.h" |
39 #include "base/utf_string_conversions.h" | 39 #include "base/utf_string_conversions.h" |
40 #include "base/values.h" | 40 #include "base/values.h" |
41 #include "build/build_config.h" | 41 #include "build/build_config.h" |
42 #include "chrome/browser/about_flags.h" | 42 #include "chrome/browser/about_flags.h" |
43 #include "chrome/browser/browser_process.h" | 43 #include "chrome/browser/browser_process.h" |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1798 if (base::win::GetVersion() <= base::win::VERSION_XP) | 1798 if (base::win::GetVersion() <= base::win::VERSION_XP) |
1799 uma_name += "_XP"; | 1799 uma_name += "_XP"; |
1800 | 1800 |
1801 uma_name += "_PreRead_"; | 1801 uma_name += "_PreRead_"; |
1802 uma_name += pre_read_percentage; | 1802 uma_name += pre_read_percentage; |
1803 AddPreReadHistogramTime(uma_name.c_str(), time); | 1803 AddPreReadHistogramTime(uma_name.c_str(), time); |
1804 } | 1804 } |
1805 #endif | 1805 #endif |
1806 #endif | 1806 #endif |
1807 } | 1807 } |
OLD | NEW |