Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / media / webrtc_log_list.h
blobab8d3282004004b7a28b44614ac2587c9664df22
1 // Copyright 2014 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_LIST_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOG_LIST_H_
8 #include "components/upload_list/upload_list.h"
10 class Profile;
12 class WebRtcLogList {
13 public:
14 // Creates the upload list with the given callback delegate for a
15 // profile. The upload list loads and parses a text file list of WebRTC
16 // logs stored locally and/or uploaded.
17 static UploadList* CreateWebRtcLogList(UploadList::Delegate* delegate,
18 Profile* profile);
20 // Get the file path for the log directory for a profile.
21 static base::FilePath GetWebRtcLogDirectoryForProfile(
22 const base::FilePath& profile_path);
24 // Get the file path for the log list file in a directory. The log list file
25 // name will be appended to |dir| and returned.
26 static base::FilePath GetWebRtcLogListFileForDirectory(
27 const base::FilePath& dir);
30 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_LIST_H_