Chromium Code Reviews| 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 class WebRtcLogUploadList : public UploadList { | |
|
James Hawkins
2013/06/24 15:05:07
nit: Document class.
Henrik Grunell
2013/06/24 17:11:44
Done.
| |
| 11 public: | |
| 12 // Static factory method that creates the WebRTC log upload list with the | |
|
James Hawkins
2013/06/24 15:05:07
Optional nit: "Static factory method that" is supe
Henrik Grunell
2013/06/24 17:11:44
Done.
| |
| 13 // given callback delegate. | |
| 14 static WebRtcLogUploadList* Create(Delegate* delegate); | |
| 15 | |
| 16 static const char* kWebRtcLogListFilename; | |
|
James Hawkins
2013/06/24 15:05:07
Why is this public? Documentation would help.
Henrik Grunell
2013/06/24 17:11:44
Done.
| |
| 17 | |
| 18 // Creates a new WebRTC log upload list with the given callback delegate. | |
| 19 explicit WebRtcLogUploadList(Delegate* delegate, | |
| 20 const base::FilePath& upload_log_path); | |
|
James Hawkins
2013/06/24 15:05:07
nit: Document |upload_log_path|.
Henrik Grunell
2013/06/24 17:11:44
Done.
| |
| 21 | |
| 22 protected: | |
| 23 virtual ~WebRtcLogUploadList(); | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploadList); | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_ | |
| OLD | NEW |