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

Unified Diff: net/base/directory_lister.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: disable checks in sub classes Created 3 years, 8 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: net/base/directory_lister.cc
diff --git a/net/base/directory_lister.cc b/net/base/directory_lister.cc
index 268648dfd14e766ef32dd8b2433838d8583a88ab..5ac66fd3a43685263e372b9fb134c4a121f58067 100644
--- a/net/base/directory_lister.cc
+++ b/net/base/directory_lister.cc
@@ -145,6 +145,7 @@ void DirectoryLister::Core::Start() {
DirectoryListerData data;
data.info = file_enum.GetInfo();
data.path = path;
+ data.absolute_path = base::MakeAbsoluteFilePath(path);
directory_list->push_back(data);
/* TODO(brettw) bug 24107: It would be nice to send incremental updates.

Powered by Google App Engine
This is Rietveld 408576698