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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h

Issue 470213002: Moving all the incident reporting stuff to a common folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@binsign
Patch Set: Created 6 years, 4 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI CE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_SERVICE_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SERVI CE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
21 #include "chrome/browser/safe_browsing/add_incident_callback.h" 21 #include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback. h"
22 #include "chrome/browser/safe_browsing/delayed_analysis_callback.h" 22 #include "chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callb ack.h"
23 #include "chrome/browser/safe_browsing/delayed_callback_runner.h" 23 #include "chrome/browser/safe_browsing/incident_reporting/delayed_callback_runne r.h"
24 #include "chrome/browser/safe_browsing/incident_report_uploader.h" 24 #include "chrome/browser/safe_browsing/incident_reporting/incident_report_upload er.h"
25 #include "chrome/browser/safe_browsing/last_download_finder.h" 25 #include "chrome/browser/safe_browsing/incident_reporting/last_download_finder.h "
26 #include "content/public/browser/notification_observer.h" 26 #include "content/public/browser/notification_observer.h"
27 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
28 28
29 class Profile; 29 class Profile;
30 class SafeBrowsingDatabaseManager; 30 class SafeBrowsingDatabaseManager;
31 class SafeBrowsingService; 31 class SafeBrowsingService;
32 class TrackedPreferenceValidationDelegate; 32 class TrackedPreferenceValidationDelegate;
33 33
34 namespace base { 34 namespace base {
35 class TaskRunner; 35 class TaskRunner;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // A factory for handing out weak pointers for internal asynchronous tasks 306 // A factory for handing out weak pointers for internal asynchronous tasks
307 // that are posted during normal processing (e.g., environment collection, 307 // that are posted during normal processing (e.g., environment collection,
308 // safe browsing database checks, and report uploads). 308 // safe browsing database checks, and report uploads).
309 base::WeakPtrFactory<IncidentReportingService> weak_ptr_factory_; 309 base::WeakPtrFactory<IncidentReportingService> weak_ptr_factory_;
310 310
311 DISALLOW_COPY_AND_ASSIGN(IncidentReportingService); 311 DISALLOW_COPY_AND_ASSIGN(IncidentReportingService);
312 }; 312 };
313 313
314 } // namespace safe_browsing 314 } // namespace safe_browsing
315 315
316 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_SERVICE_H_ 316 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_INCIDENT_REPORTING_SE RVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698