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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_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_VARIATIONS_SEED_SIGNATUR E_INCIDENT_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_INCIDENT_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_INCIDENT_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATUR E_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_VariationsSeedSignatureIncident; 16 class ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident;
14 17
15 // An incident representing an invalid variations seed signature. 18 // An incident representing an invalid variations seed signature.
16 class VariationsSeedSignatureIncident : public Incident { 19 class VariationsSeedSignatureIncident : public Incident {
17 public: 20 public:
18 explicit VariationsSeedSignatureIncident(scoped_ptr< 21 explicit VariationsSeedSignatureIncident(scoped_ptr<
19 ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident> 22 ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident>
20 variations_seed_signature); 23 variations_seed_signature);
21 ~VariationsSeedSignatureIncident() override; 24 ~VariationsSeedSignatureIncident() override;
22 25
23 // Incident methods: 26 // Incident methods:
24 IncidentType GetType() const override; 27 IncidentType GetType() const override;
25 std::string GetKey() const override; 28 std::string GetKey() const override;
26 uint32_t ComputeDigest() const override; 29 uint32_t ComputeDigest() const override;
27 30
28 private: 31 private:
29 DISALLOW_COPY_AND_ASSIGN(VariationsSeedSignatureIncident); 32 DISALLOW_COPY_AND_ASSIGN(VariationsSeedSignatureIncident);
30 }; 33 };
31 34
32 } // namespace safe_browsing 35 } // namespace safe_browsing
33 36
34 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA TURE_INCIDENT_H_ 37 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNA TURE_INCIDENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698