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

Unified Diff: chrome/browser/media/webrtc_log_upload_list.h

Issue 17063004: Adding WebRTC log upload list under chrome://webrtc-logs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/media/webrtc_log_upload_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_log_upload_list.h
diff --git a/chrome/browser/media/webrtc_log_upload_list.h b/chrome/browser/media/webrtc_log_upload_list.h
new file mode 100644
index 0000000000000000000000000000000000000000..b829d8e64756591ec7556bae11563e4c5a0a803f
--- /dev/null
+++ b/chrome/browser/media/webrtc_log_upload_list.h
@@ -0,0 +1,32 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_
+#define CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_
+
+#include "chrome/browser/upload_list.h"
+
+// Loads and parses a text file list of uploaded WebRTC logs.
+class WebRtcLogUploadList : public UploadList {
+ public:
+ // Creates the WebRTC log upload list with the given callback delegate.
+ static WebRtcLogUploadList* Create(Delegate* delegate);
+
+ // Used in this class when reading the list file and in WebRtcLogUploader when
+ // writing to the list file.
+ static const char* kWebRtcLogListFilename;
+
+ // Creates a new WebRTC log upload list with the given callback delegate.
+ // |upload_log_path| is the full path to the file to read the list from.
+ explicit WebRtcLogUploadList(Delegate* delegate,
+ const base::FilePath& upload_log_path);
+
+ protected:
+ virtual ~WebRtcLogUploadList();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploadList);
+};
+
+#endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/media/webrtc_log_upload_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698