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/incident_reporting_ser
vice.h" | 5 #include "chrome/browser/safe_browsing/incident_reporting/incident_reporting_ser
vice.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/metrics/field_trial.h" | 17 #include "base/metrics/field_trial.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
19 #include "base/process/process_info.h" | 19 #include "base/process/process_info.h" |
20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
21 #include "base/stl_util.h" | 21 #include "base/stl_util.h" |
22 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
23 #include "base/thread_task_runner_handle.h" | |
24 #include "base/threading/sequenced_worker_pool.h" | 23 #include "base/threading/sequenced_worker_pool.h" |
| 24 #include "base/threading/thread_task_runner_handle.h" |
25 #include "build/build_config.h" | 25 #include "build/build_config.h" |
26 #include "chrome/browser/chrome_notification_types.h" | 26 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" | 27 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" |
28 #include "chrome/browser/profiles/profile.h" | 28 #include "chrome/browser/profiles/profile.h" |
29 #include "chrome/browser/safe_browsing/incident_reporting/environment_data_colle
ction.h" | 29 #include "chrome/browser/safe_browsing/incident_reporting/environment_data_colle
ction.h" |
30 #include "chrome/browser/safe_browsing/incident_reporting/extension_data_collect
ion.h" | 30 #include "chrome/browser/safe_browsing/incident_reporting/extension_data_collect
ion.h" |
31 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" | 31 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" |
32 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" | 32 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" |
33 #include "chrome/browser/safe_browsing/incident_reporting/incident_report_upload
er_impl.h" | 33 #include "chrome/browser/safe_browsing/incident_reporting/incident_report_upload
er_impl.h" |
34 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" | 34 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" |
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 if (!profile->IsOffTheRecord()) | 1153 if (!profile->IsOffTheRecord()) |
1154 OnProfileDestroyed(profile); | 1154 OnProfileDestroyed(profile); |
1155 break; | 1155 break; |
1156 } | 1156 } |
1157 default: | 1157 default: |
1158 break; | 1158 break; |
1159 } | 1159 } |
1160 } | 1160 } |
1161 | 1161 |
1162 } // namespace safe_browsing | 1162 } // namespace safe_browsing |
OLD | NEW |