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 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" | 84 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" |
85 #include "chrome/common/child_process_logging.h" | 85 #include "chrome/common/child_process_logging.h" |
86 #include "chrome/common/chrome_constants.h" | 86 #include "chrome/common/chrome_constants.h" |
87 #include "chrome/common/chrome_paths.h" | 87 #include "chrome/common/chrome_paths.h" |
88 #include "chrome/common/chrome_result_codes.h" | 88 #include "chrome/common/chrome_result_codes.h" |
89 #include "chrome/common/chrome_switches.h" | 89 #include "chrome/common/chrome_switches.h" |
90 #include "chrome/common/env_vars.h" | 90 #include "chrome/common/env_vars.h" |
91 #include "chrome/common/json_pref_store.h" | 91 #include "chrome/common/json_pref_store.h" |
92 #include "chrome/common/jstemplate_builder.h" | 92 #include "chrome/common/jstemplate_builder.h" |
93 #include "chrome/common/logging_chrome.h" | 93 #include "chrome/common/logging_chrome.h" |
94 #include "chrome/common/metrics/experiments_helper.h" | 94 #include "chrome/common/metrics/variations_util.h" |
95 #include "chrome/common/net/net_resource_provider.h" | 95 #include "chrome/common/net/net_resource_provider.h" |
96 #include "chrome/common/pref_names.h" | 96 #include "chrome/common/pref_names.h" |
97 #include "chrome/common/profiling.h" | 97 #include "chrome/common/profiling.h" |
98 #include "chrome/installer/util/google_update_settings.h" | 98 #include "chrome/installer/util/google_update_settings.h" |
99 #include "content/public/browser/browser_thread.h" | 99 #include "content/public/browser/browser_thread.h" |
100 #include "content/public/browser/gpu_data_manager.h" | 100 #include "content/public/browser/gpu_data_manager.h" |
101 #include "content/public/browser/render_process_host.h" | 101 #include "content/public/browser/render_process_host.h" |
102 #include "content/public/common/content_client.h" | 102 #include "content/public/common/content_client.h" |
103 #include "content/public/common/main_function_params.h" | 103 #include "content/public/common/main_function_params.h" |
104 #include "grit/app_locale_settings.h" | 104 #include "grit/app_locale_settings.h" |
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1553 if (base::win::GetVersion() <= base::win::VERSION_XP) | 1553 if (base::win::GetVersion() <= base::win::VERSION_XP) |
1554 uma_name += "_XP"; | 1554 uma_name += "_XP"; |
1555 | 1555 |
1556 uma_name += "_PreRead_"; | 1556 uma_name += "_PreRead_"; |
1557 uma_name += pre_read_percentage; | 1557 uma_name += pre_read_percentage; |
1558 AddPreReadHistogramTime(uma_name.c_str(), time); | 1558 AddPreReadHistogramTime(uma_name.c_str(), time); |
1559 } | 1559 } |
1560 #endif | 1560 #endif |
1561 #endif | 1561 #endif |
1562 } | 1562 } |
OLD | NEW |