OLD | NEW |
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_STATE_STORE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_STATE_STORE_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_STATE_STORE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_STATE_STORE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "base/prefs/scoped_user_pref_update.h" | 15 #include "base/prefs/scoped_user_pref_update.h" |
13 | 16 |
14 class Profile; | 17 class Profile; |
15 | 18 |
16 namespace safe_browsing { | 19 namespace safe_browsing { |
17 | 20 |
18 enum class IncidentType : int32_t; | 21 enum class IncidentType : int32_t; |
19 | 22 |
20 // The storage to track which incidents have been reported for a profile. Only | 23 // The storage to track which incidents have been reported for a profile. Only |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // True when a Transaction instance is outstanding. | 104 // True when a Transaction instance is outstanding. |
102 bool has_transaction_; | 105 bool has_transaction_; |
103 #endif | 106 #endif |
104 | 107 |
105 DISALLOW_COPY_AND_ASSIGN(StateStore); | 108 DISALLOW_COPY_AND_ASSIGN(StateStore); |
106 }; | 109 }; |
107 | 110 |
108 } // namespace safe_browsing | 111 } // namespace safe_browsing |
109 | 112 |
110 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_STATE_STORE_H_ | 113 #endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_STATE_STORE_H_ |
OLD | NEW |