OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_ | |
6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_ | |
7 | |
8 #include "chrome/browser/upload_list.h" | |
9 | |
10 // Loads and parses a text file list of uploaded WebRTC logs. | |
11 class WebRtcLogUploadList : public UploadList { | |
12 public: | |
13 // Creates the WebRTC log upload list with the given callback delegate. | |
14 static WebRtcLogUploadList* Create(Delegate* delegate); | |
15 | |
16 // Used in this class when reading the list file and in WebRtcLogUploader when | |
17 // writing to the list file. | |
18 static const char* kWebRtcLogListFilename; | |
James Hawkins
2013/06/24 18:31:06
I still don't understand why this member var is pu
Henrik Grunell
2013/06/24 20:29:34
Yes that's correct. I did it the same way as for c
| |
19 | |
20 // Creates a new WebRTC log upload list with the given callback delegate. | |
21 // |upload_log_path| is the full path to the file to read the list from. | |
22 explicit WebRtcLogUploadList(Delegate* delegate, | |
23 const base::FilePath& upload_log_path); | |
24 | |
25 protected: | |
26 virtual ~WebRtcLogUploadList(); | |
27 | |
28 private: | |
29 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploadList); | |
30 }; | |
31 | |
32 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_ | |
OLD | NEW |