| 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 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/extensions/extensions_startup.h" | 41 #include "chrome/browser/extensions/extensions_startup.h" |
| 42 #include "chrome/browser/first_run/upgrade_util.h" | 42 #include "chrome/browser/first_run/upgrade_util.h" |
| 43 #include "chrome/browser/google/google_search_counter.h" | 43 #include "chrome/browser/google/google_search_counter.h" |
| 44 #include "chrome/browser/google/google_url_tracker.h" | 44 #include "chrome/browser/google/google_url_tracker.h" |
| 45 #include "chrome/browser/google/google_util.h" | 45 #include "chrome/browser/google/google_util.h" |
| 46 #include "chrome/browser/gpu_blacklist.h" | 46 #include "chrome/browser/gpu_blacklist.h" |
| 47 #include "chrome/browser/gpu_util.h" | 47 #include "chrome/browser/gpu_util.h" |
| 48 #include "chrome/browser/instant/instant_field_trial.h" | 48 #include "chrome/browser/instant/instant_field_trial.h" |
| 49 #include "chrome/browser/jankometer.h" | 49 #include "chrome/browser/jankometer.h" |
| 50 #include "chrome/browser/language_usage_metrics.h" | 50 #include "chrome/browser/language_usage_metrics.h" |
| 51 #include "chrome/browser/metrics/histogram_synchronizer.h" |
| 51 #include "chrome/browser/metrics/field_trial_synchronizer.h" | 52 #include "chrome/browser/metrics/field_trial_synchronizer.h" |
| 52 #include "chrome/browser/metrics/histogram_synchronizer.h" | |
| 53 #include "chrome/browser/metrics/metrics_log.h" | 53 #include "chrome/browser/metrics/metrics_log.h" |
| 54 #include "chrome/browser/metrics/metrics_service.h" | 54 #include "chrome/browser/metrics/metrics_service.h" |
| 55 #include "chrome/browser/metrics/thread_watcher.h" | 55 #include "chrome/browser/metrics/thread_watcher.h" |
| 56 #include "chrome/browser/metrics/tracking_synchronizer.h" | 56 #include "chrome/browser/metrics/tracking_synchronizer.h" |
| 57 #include "chrome/browser/nacl_host/nacl_process_host.h" | 57 #include "chrome/browser/nacl_host/nacl_process_host.h" |
| 58 #include "chrome/browser/net/chrome_net_log.h" | 58 #include "chrome/browser/net/chrome_net_log.h" |
| 59 #include "chrome/browser/net/chrome_network_delegate.h" | 59 #include "chrome/browser/net/chrome_network_delegate.h" |
| 60 #include "chrome/browser/net/predictor.h" | 60 #include "chrome/browser/net/predictor.h" |
| 61 #include "chrome/browser/notifications/desktop_notification_service.h" | 61 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 62 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 62 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
| (...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1956 if (base::win::GetVersion() <= base::win::VERSION_XP) | 1956 if (base::win::GetVersion() <= base::win::VERSION_XP) |
| 1957 uma_name += "_XP"; | 1957 uma_name += "_XP"; |
| 1958 | 1958 |
| 1959 uma_name += "_PreRead_"; | 1959 uma_name += "_PreRead_"; |
| 1960 uma_name += pre_read_percentage; | 1960 uma_name += pre_read_percentage; |
| 1961 AddPreReadHistogramTime(uma_name.c_str(), time); | 1961 AddPreReadHistogramTime(uma_name.c_str(), time); |
| 1962 } | 1962 } |
| 1963 #endif | 1963 #endif |
| 1964 #endif | 1964 #endif |
| 1965 } | 1965 } |
| OLD | NEW |