OLD | NEW |
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 COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ | 5 #ifndef COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ |
6 #define COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ | 6 #define COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "components/metrics/metrics_log_uploader.h" | 12 #include "components/metrics/metrics_log_uploader.h" |
12 #include "net/url_request/url_fetcher_delegate.h" | 13 #include "net/url_request/url_fetcher_delegate.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 class URLFetcher; | 16 class URLFetcher; |
16 class URLRequestContextGetter; | 17 class URLRequestContextGetter; |
17 } | 18 } |
18 | 19 |
19 namespace metrics { | 20 namespace metrics { |
(...skipping 25 matching lines...) Expand all Loading... |
45 | 46 |
46 // The outstanding transmission appears as a URL Fetch operation. | 47 // The outstanding transmission appears as a URL Fetch operation. |
47 scoped_ptr<net::URLFetcher> current_fetch_; | 48 scoped_ptr<net::URLFetcher> current_fetch_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(NetMetricsLogUploader); | 50 DISALLOW_COPY_AND_ASSIGN(NetMetricsLogUploader); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace metrics | 53 } // namespace metrics |
53 | 54 |
54 #endif // COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ | 55 #endif // COMPONENTS_METRICS_NET_NET_METRICS_LOG_UPLOADER_H_ |
OLD | NEW |