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.
5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_
8 #include "chrome/browser/upload_list.h"
12 // Loads and parses a text file list of uploaded WebRTC logs.
13 class WebRtcLogUploadList
: public UploadList
{
15 // Creates the WebRTC log upload list with the given callback delegate for
17 static WebRtcLogUploadList
* Create(Delegate
* delegate
, Profile
* profile
);
19 // Get the file path for the log list file for a profile.
20 static base::FilePath
GetFilePathForProfile(Profile
* profile
);
22 // Creates a new WebRTC log upload list with the given callback delegate.
23 // |upload_log_path| is the full path to the file to read the list from.
24 explicit WebRtcLogUploadList(Delegate
* delegate
,
25 const base::FilePath
& upload_log_path
);
28 virtual ~WebRtcLogUploadList();
31 DISALLOW_COPY_AND_ASSIGN(WebRtcLogUploadList
);
34 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_UPLOAD_LIST_H_