OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ |
6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
18 #include "chrome/browser/media/webrtc/webrtc_logging_handler_host.h" | 18 #include "chrome/browser/media/webrtc/webrtc_logging_handler_host.h" |
19 #include "net/url_request/url_fetcher_delegate.h" | 19 #include "net/url_request/url_fetcher_delegate.h" |
20 | 20 |
21 class Profile; | |
22 | |
23 namespace net { | 21 namespace net { |
24 class URLFetcher; | 22 class URLFetcher; |
25 } | 23 } |
26 | 24 |
27 typedef struct z_stream_s z_stream; | 25 typedef struct z_stream_s z_stream; |
28 | 26 |
29 // Used when uploading is done to perform post-upload actions. |log_path| is | 27 // Used when uploading is done to perform post-upload actions. |log_path| is |
30 // also used pre-upload. | 28 // also used pre-upload. |
31 struct WebRtcLogUploadDoneData : public WebRtcLogPaths { | 29 struct WebRtcLogUploadDoneData : public WebRtcLogPaths { |
32 WebRtcLogUploadDoneData(); | 30 WebRtcLogUploadDoneData(); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // Only accessed on the IO thread. | 188 // Only accessed on the IO thread. |
191 UploadDoneDataMap upload_done_data_; | 189 UploadDoneDataMap upload_done_data_; |
192 | 190 |
193 // When shutting down, don't create new URLFetchers. | 191 // When shutting down, don't create new URLFetchers. |
194 bool shutting_down_; | 192 bool shutting_down_; |
195 | 193 |
196 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader); | 194 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader); |
197 }; | 195 }; |
198 | 196 |
199 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ | 197 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ |
OLD | NEW |