Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc

Issue 2733343002: Move chrome/common/safe_browsing/csd.proto to components/safe_browsing (Closed)
Patch Set: rebase again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/logging.h" 12 #include "base/logging.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 #include "base/threading/sequenced_worker_pool.h" 15 #include "base/threading/sequenced_worker_pool.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "chrome/common/channel_info.h" 17 #include "chrome/common/channel_info.h"
18 #include "chrome/common/safe_browsing/csd.pb.h" 18 #include "components/safe_browsing/csd.pb.h"
19 #include "components/version_info/version_info.h" 19 #include "components/version_info/version_info.h"
20 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
21 21
22 namespace safe_browsing { 22 namespace safe_browsing {
23 23
24 // Populates |process| with platform-specific data related to the chrome browser 24 // Populates |process| with platform-specific data related to the chrome browser
25 // process. 25 // process.
26 void CollectPlatformProcessData( 26 void CollectPlatformProcessData(
27 ClientIncidentReport_EnvironmentData_Process* process); 27 ClientIncidentReport_EnvironmentData_Process* process);
28 28
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // implementations. 110 // implementations.
111 } 111 }
112 112
113 void CollectPlatformOSData(ClientIncidentReport_EnvironmentData_OS* os_data) { 113 void CollectPlatformOSData(ClientIncidentReport_EnvironmentData_OS* os_data) {
114 // Empty implementation for platforms that do not (yet) have their own 114 // Empty implementation for platforms that do not (yet) have their own
115 // implementations. 115 // implementations.
116 } 116 }
117 #endif 117 #endif
118 118
119 } // namespace safe_browsing 119 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698