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

Side by Side Diff: chrome/browser/media/webrtc/webrtc_log_list.h

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOG_LIST_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_LIST_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOG_LIST_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_LIST_H_
7 7
8 #include "components/upload_list/upload_list.h" 8 #include "components/upload_list/upload_list.h"
9 9
10 class Profile; 10 class Profile;
11 11
12 class WebRtcLogList { 12 class WebRtcLogList {
13 public: 13 public:
14 // Creates the upload list with the given callback delegate for a 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 15 // profile. The upload list loads and parses a text file list of WebRTC
16 // logs stored locally and/or uploaded. 16 // logs stored locally and/or uploaded.
17 static UploadList* CreateWebRtcLogList(UploadList::Delegate* delegate, 17 static UploadList* CreateWebRtcLogList(UploadList::Delegate* delegate,
18 Profile* profile); 18 Profile* profile);
19 19
20 // Get the file path for the log directory for a profile. 20 // Get the file path for the log directory for a profile.
21 static base::FilePath GetWebRtcLogDirectoryForProfile( 21 static base::FilePath GetWebRtcLogDirectoryForProfile(
22 const base::FilePath& profile_path); 22 const base::FilePath& profile_path);
23 23
24 // Get the file path for the log list file in a directory. The log list file 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. 25 // name will be appended to |dir| and returned.
26 static base::FilePath GetWebRtcLogListFileForDirectory( 26 static base::FilePath GetWebRtcLogListFileForDirectory(
27 const base::FilePath& dir); 27 const base::FilePath& dir);
28 }; 28 };
29 29
30 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOG_LIST_H_ 30 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_LOG_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_getmediadevices_browsertest.cc ('k') | chrome/browser/media/webrtc/webrtc_log_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698