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); |
-} |