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

Unified Diff: chrome/browser/media/webrtc_log_list.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/webrtc_log_list.h ('k') | chrome/browser/media/webrtc_log_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_log_list.cc
diff --git a/chrome/browser/media/webrtc_log_list.cc b/chrome/browser/media/webrtc_log_list.cc
deleted file mode 100644
index f5c37b3b5ae92660c27b32558f898fc5a9d8457f..0000000000000000000000000000000000000000
--- a/chrome/browser/media/webrtc_log_list.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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.
-
-#include "chrome/browser/media/webrtc_log_list.h"
-
-#include "base/files/file.h"
-#include "base/files/file_path.h"
-#include "base/files/file_util.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/common/chrome_paths.h"
-#include "content/public/browser/browser_thread.h"
-
-namespace {
-
-const char kWebRtcLogDirectory[] = "WebRTC Logs";
-const char kWebRtcLogListFilename[] = "Log List";
-
-}
-
-// static
-UploadList* WebRtcLogList::CreateWebRtcLogList(UploadList::Delegate* delegate,
- Profile* profile) {
- base::FilePath log_list_path = GetWebRtcLogListFileForDirectory(
- GetWebRtcLogDirectoryForProfile(profile->GetPath()));
- return new UploadList(
- delegate, log_list_path, content::BrowserThread::GetBlockingPool());
-}
-
-// static
-base::FilePath WebRtcLogList::GetWebRtcLogDirectoryForProfile(
- const base::FilePath& profile_path) {
- DCHECK(!profile_path.empty());
- return profile_path.AppendASCII(kWebRtcLogDirectory);
-}
-
-// static
-base::FilePath WebRtcLogList::GetWebRtcLogListFileForDirectory(
- const base::FilePath& dir) {
- DCHECK(!dir.empty());
- return dir.AppendASCII(kWebRtcLogListFilename);
-}
« no previous file with comments | « chrome/browser/media/webrtc_log_list.h ('k') | chrome/browser/media/webrtc_log_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698