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

Unified Diff: net/tools/quic/quic_in_memory_cache.cc

Issue 13165005: Move FileEnumerator to its own file, do some refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge, fixes Created 7 years, 7 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 | « net/tools/dump_cache/dump_files.cc ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_in_memory_cache.cc
diff --git a/net/tools/quic/quic_in_memory_cache.cc b/net/tools/quic/quic_in_memory_cache.cc
index 9d086e2768f6b873b26dca0a75b89a5a7dce6fe8..7a1906b34b0776c6e02c6865b8c79ffcc1b4f524 100644
--- a/net/tools/quic/quic_in_memory_cache.cc
+++ b/net/tools/quic/quic_in_memory_cache.cc
@@ -5,11 +5,11 @@
#include "net/tools/quic/quic_in_memory_cache.h"
#include "base/file_util.h"
+#include "base/files/file_enumerator.h"
#include "base/stl_util.h"
using base::FilePath;
using base::StringPiece;
-using file_util::FileEnumerator;
using std::string;
// Specifies the directory used during QuicInMemoryCache
@@ -119,9 +119,9 @@ QuicInMemoryCache::QuicInMemoryCache() {
<< FLAGS_quic_in_memory_cache_dir;
FilePath directory(FLAGS_quic_in_memory_cache_dir);
- FileEnumerator file_list(directory,
- true,
- FileEnumerator::FILES);
+ base::FileEnumerator file_list(directory,
+ true,
+ base::FileEnumerator::FILES);
FilePath file = file_list.Next();
while (!file.empty()) {
« no previous file with comments | « net/tools/dump_cache/dump_files.cc ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698