| 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> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/safe_browsing/incident_reporting/extension_data_collect
ion.h" | 28 #include "chrome/browser/safe_browsing/incident_reporting/extension_data_collect
ion.h" |
| 29 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" | 29 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" |
| 30 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" | 30 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" |
| 31 #include "chrome/browser/safe_browsing/incident_reporting/incident_report_upload
er_impl.h" | 31 #include "chrome/browser/safe_browsing/incident_reporting/incident_report_upload
er_impl.h" |
| 32 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" | 32 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" |
| 33 #include "chrome/browser/safe_browsing/incident_reporting/state_store.h" | 33 #include "chrome/browser/safe_browsing/incident_reporting/state_store.h" |
| 34 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 34 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 35 #include "chrome/common/chrome_features.h" | 35 #include "chrome/common/chrome_features.h" |
| 36 #include "chrome/common/pref_names.h" | 36 #include "chrome/common/pref_names.h" |
| 37 #include "components/prefs/pref_service.h" | 37 #include "components/prefs/pref_service.h" |
| 38 #include "components/safe_browsing/csd.pb.h" | 38 #include "components/safe_browsing/common/csd.pb.h" |
| 39 #include "components/safe_browsing_db/database_manager.h" | 39 #include "components/safe_browsing_db/database_manager.h" |
| 40 #include "components/safe_browsing_db/safe_browsing_prefs.h" | 40 #include "components/safe_browsing_db/safe_browsing_prefs.h" |
| 41 #include "content/public/browser/browser_thread.h" | 41 #include "content/public/browser/browser_thread.h" |
| 42 #include "content/public/browser/notification_service.h" | 42 #include "content/public/browser/notification_service.h" |
| 43 #include "net/url_request/url_request_context_getter.h" | 43 #include "net/url_request/url_request_context_getter.h" |
| 44 #include "services/preferences/public/interfaces/tracked_preference_validation_d
elegate.mojom.h" | 44 #include "services/preferences/public/interfaces/tracked_preference_validation_d
elegate.mojom.h" |
| 45 | 45 |
| 46 namespace safe_browsing { | 46 namespace safe_browsing { |
| 47 | 47 |
| 48 #if !defined(GOOGLE_CHROME_BUILD) | 48 #if !defined(GOOGLE_CHROME_BUILD) |
| (...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 if (!profile->IsOffTheRecord()) | 1054 if (!profile->IsOffTheRecord()) |
| 1055 OnProfileDestroyed(profile); | 1055 OnProfileDestroyed(profile); |
| 1056 break; | 1056 break; |
| 1057 } | 1057 } |
| 1058 default: | 1058 default: |
| 1059 break; | 1059 break; |
| 1060 } | 1060 } |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 } // namespace safe_browsing | 1063 } // namespace safe_browsing |
| OLD | NEW |