| 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_WEBRTC_LOG_UPLOADER_H_ |
| 6 #define CHROME_BROWSER_MEDIA_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 <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/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 { | 22 namespace base { |
| 23 class SharedMemory; | 23 class SharedMemory; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace net { | 26 namespace net { |
| 27 class URLFetcher; | 27 class URLFetcher; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 UploadDoneDataMap; | 192 UploadDoneDataMap; |
| 193 // Only accessed on the IO thread. | 193 // Only accessed on the IO thread. |
| 194 UploadDoneDataMap upload_done_data_; | 194 UploadDoneDataMap upload_done_data_; |
| 195 | 195 |
| 196 // When shutting down, don't create new URLFetchers. | 196 // When shutting down, don't create new URLFetchers. |
| 197 bool shutting_down_; | 197 bool shutting_down_; |
| 198 | 198 |
| 199 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader); | 199 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader); |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOADER_H_ | 202 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_UPLOADER_H_ |
| OLD | NEW |