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

Unified Diff: chrome/browser/chromeos/drive/file_cache_metadata.cc

Issue 15878006: drive: Stop mentioning about symlinks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
Index: chrome/browser/chromeos/drive/file_cache_metadata.cc
diff --git a/chrome/browser/chromeos/drive/file_cache_metadata.cc b/chrome/browser/chromeos/drive/file_cache_metadata.cc
index e6ffb3ded444d0a0f0b66155923c577102c69028..46ac4fa87758001b4c455477840fd7bb85bc882d 100644
--- a/chrome/browser/chromeos/drive/file_cache_metadata.cc
+++ b/chrome/browser/chromeos/drive/file_cache_metadata.cc
@@ -29,8 +29,7 @@ enum DBOpenStatus {
// A map table of resource ID to file path.
typedef std::map<std::string, base::FilePath> ResourceIdToFilePathMap;
-// Scans cache subdirectory and build or update |cache_map|
-// with found file blobs or symlinks.
+// Scans cache subdirectory and build or update |cache_map| with found files.
//
// The resource IDs and file paths of discovered files are collected as a
// ResourceIdToFilePathMap, if these are processed properly.
@@ -42,12 +41,10 @@ void ScanCacheDirectory(
DCHECK(cache_map);
DCHECK(processed_file_map);
- file_util::FileEnumerator enumerator(
- cache_paths[sub_dir_type],
- false, // not recursive
- file_util::FileEnumerator::FILES |
- file_util::FileEnumerator::SHOW_SYM_LINKS,
- util::kWildCard);
+ file_util::FileEnumerator enumerator(cache_paths[sub_dir_type],
+ false, // not recursive
+ file_util::FileEnumerator::FILES,
+ util::kWildCard);
for (base::FilePath current = enumerator.Next(); !current.empty();
current = enumerator.Next()) {
// Extract resource_id and md5 from filename.
« no previous file with comments | « chrome/browser/chromeos/drive/file_cache_metadata.h ('k') | chrome/browser/chromeos/drive/file_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698