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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BLACKLIST_LOAD_INCIDENT_ H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDENT_ H_
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDENT_ H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDENT_ H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" 12 #include "chrome/browser/safe_browsing/incident_reporting/incident.h"
10 13
11 namespace safe_browsing { 14 namespace safe_browsing {
12 15
13 class ClientIncidentReport_IncidentData_BlacklistLoadIncident; 16 class ClientIncidentReport_IncidentData_BlacklistLoadIncident;
14 17
15 // An incident representing a module that evades the browser DLL blacklist. 18 // An incident representing a module that evades the browser DLL blacklist.
16 class BlacklistLoadIncident : public Incident { 19 class BlacklistLoadIncident : public Incident {
17 public: 20 public:
18 explicit BlacklistLoadIncident(scoped_ptr< 21 explicit BlacklistLoadIncident(scoped_ptr<
19 ClientIncidentReport_IncidentData_BlacklistLoadIncident> blacklist_load); 22 ClientIncidentReport_IncidentData_BlacklistLoadIncident> blacklist_load);
20 ~BlacklistLoadIncident() override; 23 ~BlacklistLoadIncident() override;
21 24
22 // Incident methods: 25 // Incident methods:
23 IncidentType GetType() const override; 26 IncidentType GetType() const override;
24 std::string GetKey() const override; 27 std::string GetKey() const override;
25 uint32_t ComputeDigest() const override; 28 uint32_t ComputeDigest() const override;
26 29
27 private: 30 private:
28 DISALLOW_COPY_AND_ASSIGN(BlacklistLoadIncident); 31 DISALLOW_COPY_AND_ASSIGN(BlacklistLoadIncident);
29 }; 32 };
30 33
31 } // namespace safe_browsing 34 } // namespace safe_browsing
32 35
33 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDE NT_H_ 36 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BLACKLIST_LOAD_INCIDE NT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698