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

Side by Side Diff: chrome/browser/media/webrtc_log_upload_list.cc

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, 5 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 | Annotate | Revision Log
OLDNEW
(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 #include "chrome/browser/media/webrtc_log_upload_list.h"
6
7 #include "base/files/file_path.h"
8 #include "base/path_service.h"
9 #include "chrome/common/chrome_paths.h"
10
11 // static
12 const char* WebRtcLogUploadList::kWebRtcLogListFilename =
13 "webrtc_log_uploads.log";
14
15 // static
16 WebRtcLogUploadList* WebRtcLogUploadList::Create(Delegate* delegate) {
17 base::FilePath log_dir_path;
18 PathService::Get(chrome::DIR_USER_DATA, &log_dir_path);
19 base::FilePath upload_log_path =
20 log_dir_path.AppendASCII(kWebRtcLogListFilename);
21 return new WebRtcLogUploadList(delegate, upload_log_path);
22 }
23
24 WebRtcLogUploadList::WebRtcLogUploadList(Delegate* delegate,
25 const base::FilePath& upload_log_path)
26 : UploadList(delegate, upload_log_path) {}
27
28 WebRtcLogUploadList::~WebRtcLogUploadList() {}
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc_log_upload_list.h ('k') | chrome/browser/resources/media/webrtc_logs.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698