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

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

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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 #include "chrome/browser/media/webrtc_log_list.h" 5 #include "chrome/browser/media/webrtc_log_list.h"
6 6
7 #include "base/files/file.h" 7 #include "base/files/file.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/path_service.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
13 12
14 namespace { 13 namespace {
15 14
16 const char kWebRtcLogDirectory[] = "WebRTC Logs"; 15 const char kWebRtcLogDirectory[] = "WebRTC Logs";
17 const char kWebRtcLogListFilename[] = "Log List"; 16 const char kWebRtcLogListFilename[] = "Log List";
18 17
19 } 18 }
20 19
(...skipping 11 matching lines...) Expand all
32 DCHECK(!profile_path.empty()); 31 DCHECK(!profile_path.empty());
33 return profile_path.AppendASCII(kWebRtcLogDirectory); 32 return profile_path.AppendASCII(kWebRtcLogDirectory);
34 } 33 }
35 34
36 // static 35 // static
37 base::FilePath WebRtcLogList::GetWebRtcLogListFileForDirectory( 36 base::FilePath WebRtcLogList::GetWebRtcLogListFileForDirectory(
38 const base::FilePath& dir) { 37 const base::FilePath& dir) {
39 DCHECK(!dir.empty()); 38 DCHECK(!dir.empty());
40 return dir.AppendASCII(kWebRtcLogListFilename); 39 return dir.AppendASCII(kWebRtcLogListFilename);
41 } 40 }
OLDNEW
« no previous file with comments | « chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc ('k') | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698