| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 #include "chrome/browser/ui/user_data_dir_dialog.h" | 104 #include "chrome/browser/ui/user_data_dir_dialog.h" |
| 105 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" | 105 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
| 106 #include "chrome/browser/user_data_dir_extractor.h" | 106 #include "chrome/browser/user_data_dir_extractor.h" |
| 107 #include "chrome/common/child_process_logging.h" | 107 #include "chrome/common/child_process_logging.h" |
| 108 #include "chrome/common/chrome_constants.h" | 108 #include "chrome/common/chrome_constants.h" |
| 109 #include "chrome/common/chrome_paths.h" | 109 #include "chrome/common/chrome_paths.h" |
| 110 #include "chrome/common/chrome_result_codes.h" | 110 #include "chrome/common/chrome_result_codes.h" |
| 111 #include "chrome/common/chrome_switches.h" | 111 #include "chrome/common/chrome_switches.h" |
| 112 #include "chrome/common/env_vars.h" | 112 #include "chrome/common/env_vars.h" |
| 113 #include "chrome/common/logging_chrome.h" | 113 #include "chrome/common/logging_chrome.h" |
| 114 #include "chrome/common/metrics/variations/variations_util.h" | |
| 115 #include "chrome/common/net/net_resource_provider.h" | 114 #include "chrome/common/net/net_resource_provider.h" |
| 116 #include "chrome/common/pref_names.h" | 115 #include "chrome/common/pref_names.h" |
| 117 #include "chrome/common/profiling.h" | 116 #include "chrome/common/profiling.h" |
| 118 #include "chrome/common/startup_metric_utils.h" | 117 #include "chrome/common/startup_metric_utils.h" |
| 119 #include "chrome/installer/util/google_update_settings.h" | 118 #include "chrome/installer/util/google_update_settings.h" |
| 120 #include "content/public/browser/browser_thread.h" | 119 #include "content/public/browser/browser_thread.h" |
| 121 #include "content/public/browser/notification_observer.h" | 120 #include "content/public/browser/notification_observer.h" |
| 122 #include "content/public/browser/notification_registrar.h" | 121 #include "content/public/browser/notification_registrar.h" |
| 123 #include "content/public/browser/notification_service.h" | 122 #include "content/public/browser/notification_service.h" |
| 124 #include "content/public/browser/notification_types.h" | 123 #include "content/public/browser/notification_types.h" |
| (...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 if (base::win::GetVersion() <= base::win::VERSION_XP) | 1734 if (base::win::GetVersion() <= base::win::VERSION_XP) |
| 1736 uma_name += "_XP"; | 1735 uma_name += "_XP"; |
| 1737 | 1736 |
| 1738 uma_name += "_PreRead_"; | 1737 uma_name += "_PreRead_"; |
| 1739 uma_name += pre_read_percentage; | 1738 uma_name += pre_read_percentage; |
| 1740 AddPreReadHistogramTime(uma_name.c_str(), time); | 1739 AddPreReadHistogramTime(uma_name.c_str(), time); |
| 1741 } | 1740 } |
| 1742 #endif | 1741 #endif |
| 1743 #endif | 1742 #endif |
| 1744 } | 1743 } |
| OLD | NEW |