OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/safe_browsing/incident_reporting/environment_data_colle
ction.h" | 5 #include "chrome/browser/safe_browsing/incident_reporting/environment_data_colle
ction.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "base/cpu.h" | 11 #include "base/cpu.h" |
12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
14 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
| 15 #include "build/build_config.h" |
15 #include "chrome/common/channel_info.h" | 16 #include "chrome/common/channel_info.h" |
16 #include "chrome/common/safe_browsing/csd.pb.h" | 17 #include "chrome/common/safe_browsing/csd.pb.h" |
17 #include "components/version_info/version_info.h" | 18 #include "components/version_info/version_info.h" |
18 | 19 |
19 namespace safe_browsing { | 20 namespace safe_browsing { |
20 | 21 |
21 // Populates |process| with platform-specific data related to the chrome browser | 22 // Populates |process| with platform-specific data related to the chrome browser |
22 // process. | 23 // process. |
23 void CollectPlatformProcessData( | 24 void CollectPlatformProcessData( |
24 ClientIncidentReport_EnvironmentData_Process* process); | 25 ClientIncidentReport_EnvironmentData_Process* process); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // implementations. | 106 // implementations. |
106 } | 107 } |
107 | 108 |
108 void CollectPlatformOSData(ClientIncidentReport_EnvironmentData_OS* os_data) { | 109 void CollectPlatformOSData(ClientIncidentReport_EnvironmentData_OS* os_data) { |
109 // Empty implementation for platforms that do not (yet) have their own | 110 // Empty implementation for platforms that do not (yet) have their own |
110 // implementations. | 111 // implementations. |
111 } | 112 } |
112 #endif | 113 #endif |
113 | 114 |
114 } // namespace safe_browsing | 115 } // namespace safe_browsing |
OLD | NEW |