| 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/metrics/metrics_log.h" | 5 #include "chrome/browser/metrics/metrics_log.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "gpu/config/gpu_info.h" | 51 #include "gpu/config/gpu_info.h" |
| 52 #include "ui/gfx/screen.h" | 52 #include "ui/gfx/screen.h" |
| 53 #include "url/gurl.h" | 53 #include "url/gurl.h" |
| 54 | 54 |
| 55 #if defined(OS_ANDROID) | 55 #if defined(OS_ANDROID) |
| 56 #include "base/android/build_info.h" | 56 #include "base/android/build_info.h" |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 #if defined(OS_WIN) | 59 #if defined(OS_WIN) |
| 60 #include "base/win/metro.h" | 60 #include "base/win/metro.h" |
| 61 #include "ui/gfx/dpi_win.h" | 61 #include "ui/gfx/win/dpi.h" |
| 62 | 62 |
| 63 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx | 63 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx |
| 64 extern "C" IMAGE_DOS_HEADER __ImageBase; | 64 extern "C" IMAGE_DOS_HEADER __ImageBase; |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 using content::GpuDataManager; | 67 using content::GpuDataManager; |
| 68 using metrics::OmniboxEventProto; | 68 using metrics::OmniboxEventProto; |
| 69 using metrics::PerfDataProto; | 69 using metrics::PerfDataProto; |
| 70 using metrics::ProfilerEventProto; | 70 using metrics::ProfilerEventProto; |
| 71 using metrics::SystemProfileProto; | 71 using metrics::SystemProfileProto; |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 | 951 |
| 952 paired_device->set_vendor_prefix(vendor_prefix); | 952 paired_device->set_vendor_prefix(vendor_prefix); |
| 953 } | 953 } |
| 954 | 954 |
| 955 paired_device->set_vendor_id(device->GetVendorID()); | 955 paired_device->set_vendor_id(device->GetVendorID()); |
| 956 paired_device->set_product_id(device->GetProductID()); | 956 paired_device->set_product_id(device->GetProductID()); |
| 957 paired_device->set_device_id(device->GetDeviceID()); | 957 paired_device->set_device_id(device->GetDeviceID()); |
| 958 } | 958 } |
| 959 #endif // defined(OS_CHROMEOS) | 959 #endif // defined(OS_CHROMEOS) |
| 960 } | 960 } |
| OLD | NEW |