Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Side by Side Diff: chrome/browser/media/webrtc_log_uploader.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
(...skipping 15 matching lines...) Expand all
26 namespace net { 26 namespace net {
27 class URLFetcher; 27 class URLFetcher;
28 } 28 }
29 29
30 typedef struct z_stream_s z_stream; 30 typedef struct z_stream_s z_stream;
31 31
32 // Used when uploading is done to perform post-upload actions. |log_path| is 32 // Used when uploading is done to perform post-upload actions. |log_path| is
33 // also used pre-upload. 33 // also used pre-upload.
34 struct WebRtcLogUploadDoneData : public WebRtcLogPaths { 34 struct WebRtcLogUploadDoneData : public WebRtcLogPaths {
35 WebRtcLogUploadDoneData(); 35 WebRtcLogUploadDoneData();
36 WebRtcLogUploadDoneData(const WebRtcLogUploadDoneData& other);
36 ~WebRtcLogUploadDoneData(); 37 ~WebRtcLogUploadDoneData();
37 38
38 WebRtcLoggingHandlerHost::UploadDoneCallback callback; 39 WebRtcLoggingHandlerHost::UploadDoneCallback callback;
39 scoped_refptr<WebRtcLoggingHandlerHost> host; 40 scoped_refptr<WebRtcLoggingHandlerHost> host;
40 std::string local_log_id; 41 std::string local_log_id;
41 }; 42 };
42 43
43 // WebRtcLogUploader uploads WebRTC logs, keeps count of how many logs have 44 // WebRtcLogUploader uploads WebRTC logs, keeps count of how many logs have
44 // been started and denies further logs if a limit is reached. It also adds 45 // been started and denies further logs if a limit is reached. It also adds
45 // the timestamp and report ID of the uploded log to a text file. There must 46 // the timestamp and report ID of the uploded log to a text file. There must
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Only accessed on the IO thread. 195 // Only accessed on the IO thread.
195 UploadDoneDataMap upload_done_data_; 196 UploadDoneDataMap upload_done_data_;
196 197
197 // When shutting down, don't create new URLFetchers. 198 // When shutting down, don't create new URLFetchers.
198 bool shutting_down_; 199 bool shutting_down_;
199 200
200 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader); 201 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploader);
201 }; 202 };
202 203
203 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOADER_H_ 204 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698