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