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

Unified Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc

Issue 10916204: Remove FileEnumerator::IsLink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/policy/app_pack_updater.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
index 10642de40291c430795c4f9e961db29d8e4de7ab..5faba791ecd26aba30c5ed72095c7488d0e57381 100644
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
@@ -62,7 +62,8 @@ void GetGCacheContents(const FilePath& root_path,
enumerator.GetFindInfo(&find_info);
int64 size = FileEnumerator::GetFilesize(find_info);
const bool is_directory = FileEnumerator::IsDirectory(find_info);
- const bool is_symbolic_link = FileEnumerator::IsLink(find_info);
+ const bool is_symbolic_link =
+ file_util::IsLink(FileEnumerator::GetFilename(find_info));
const base::Time last_modified =
FileEnumerator::GetLastModifiedTime(find_info);
« no previous file with comments | « chrome/browser/policy/app_pack_updater.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698