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

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

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 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 | Annotate | Revision Log
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_util.h" 5 #include "chrome/browser/media/webrtc_log_util.h"
6 6
7 #include "base/file_util.h"
8 #include "base/files/file_enumerator.h" 7 #include "base/files/file_enumerator.h"
8 #include "base/files/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/media/webrtc_log_list.h" 12 #include "chrome/browser/media/webrtc_log_list.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/profiles/profile_manager.h" 14 #include "chrome/browser/profiles/profile_manager.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 16
17 namespace { 17 namespace {
18 18
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 size_t profiles_count = profile_cache.GetNumberOfProfiles(); 109 size_t profiles_count = profile_cache.GetNumberOfProfiles();
110 for (size_t i = 0; i < profiles_count; ++i) { 110 for (size_t i = 0; i < profiles_count; ++i) {
111 content::BrowserThread::PostTask( 111 content::BrowserThread::PostTask(
112 content::BrowserThread::FILE, 112 content::BrowserThread::FILE,
113 FROM_HERE, 113 FROM_HERE,
114 base::Bind(&DeleteOldWebRtcLogFiles, 114 base::Bind(&DeleteOldWebRtcLogFiles,
115 WebRtcLogList::GetWebRtcLogDirectoryForProfile( 115 WebRtcLogList::GetWebRtcLogDirectoryForProfile(
116 profile_cache.GetPathOfProfileAtIndex(i)))); 116 profile_cache.GetPathOfProfileAtIndex(i))));
117 } 117 }
118 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc_log_uploader_unittest.cc ('k') | chrome/browser/media/webrtc_log_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698