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 NET_URL_REQUEST_REPORT_SENDER_H_ | 5 #ifndef NET_URL_REQUEST_REPORT_SENDER_H_ |
6 #define NET_URL_REQUEST_REPORT_SENDER_H_ | 6 #define NET_URL_REQUEST_REPORT_SENDER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/base/net_export.h" |
14 #include "net/http/transport_security_state.h" | 15 #include "net/http/transport_security_state.h" |
15 #include "net/url_request/url_request.h" | 16 #include "net/url_request/url_request.h" |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 | 21 |
21 class URLRequestContext; | 22 class URLRequestContext; |
22 | 23 |
23 // ReportSender asynchronously sends serialized reports to a URI. | 24 // ReportSender asynchronously sends serialized reports to a URI. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 74 |
74 // Called when a sent report results in an error. | 75 // Called when a sent report results in an error. |
75 ErrorCallback error_callback_; | 76 ErrorCallback error_callback_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(ReportSender); | 78 DISALLOW_COPY_AND_ASSIGN(ReportSender); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace net | 81 } // namespace net |
81 | 82 |
82 #endif // NET_URL_REQUEST_REPORT_SENDER_H_ | 83 #endif // NET_URL_REQUEST_REPORT_SENDER_H_ |
OLD | NEW |