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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" | 83 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" |
84 #include "chrome/common/child_process_logging.h" | 84 #include "chrome/common/child_process_logging.h" |
85 #include "chrome/common/chrome_constants.h" | 85 #include "chrome/common/chrome_constants.h" |
86 #include "chrome/common/chrome_paths.h" | 86 #include "chrome/common/chrome_paths.h" |
87 #include "chrome/common/chrome_result_codes.h" | 87 #include "chrome/common/chrome_result_codes.h" |
88 #include "chrome/common/chrome_switches.h" | 88 #include "chrome/common/chrome_switches.h" |
89 #include "chrome/common/env_vars.h" | 89 #include "chrome/common/env_vars.h" |
90 #include "chrome/common/json_pref_store.h" | 90 #include "chrome/common/json_pref_store.h" |
91 #include "chrome/common/jstemplate_builder.h" | 91 #include "chrome/common/jstemplate_builder.h" |
92 #include "chrome/common/logging_chrome.h" | 92 #include "chrome/common/logging_chrome.h" |
93 #include "chrome/common/metrics/experiments_helper.h" | 93 #include "chrome/common/metrics/variations_util.h" |
94 #include "chrome/common/net/net_resource_provider.h" | 94 #include "chrome/common/net/net_resource_provider.h" |
95 #include "chrome/common/pref_names.h" | 95 #include "chrome/common/pref_names.h" |
96 #include "chrome/common/profiling.h" | 96 #include "chrome/common/profiling.h" |
97 #include "chrome/installer/util/google_update_settings.h" | 97 #include "chrome/installer/util/google_update_settings.h" |
98 #include "content/public/browser/browser_thread.h" | 98 #include "content/public/browser/browser_thread.h" |
99 #include "content/public/browser/gpu_data_manager.h" | 99 #include "content/public/browser/gpu_data_manager.h" |
100 #include "content/public/browser/render_process_host.h" | 100 #include "content/public/browser/render_process_host.h" |
101 #include "content/public/common/content_client.h" | 101 #include "content/public/common/content_client.h" |
102 #include "content/public/common/main_function_params.h" | 102 #include "content/public/common/main_function_params.h" |
103 #include "grit/app_locale_settings.h" | 103 #include "grit/app_locale_settings.h" |
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 if (base::win::GetVersion() <= base::win::VERSION_XP) | 1524 if (base::win::GetVersion() <= base::win::VERSION_XP) |
1525 uma_name += "_XP"; | 1525 uma_name += "_XP"; |
1526 | 1526 |
1527 uma_name += "_PreRead_"; | 1527 uma_name += "_PreRead_"; |
1528 uma_name += pre_read_percentage; | 1528 uma_name += pre_read_percentage; |
1529 AddPreReadHistogramTime(uma_name.c_str(), time); | 1529 AddPreReadHistogramTime(uma_name.c_str(), time); |
1530 } | 1530 } |
1531 #endif | 1531 #endif |
1532 #endif | 1532 #endif |
1533 } | 1533 } |
OLD | NEW |