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

Unified Diff: net/base/directory_lister.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: remove dcheck Created 3 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/base/directory_lister.h ('k') | net/base/layered_network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/directory_lister.cc
diff --git a/net/base/directory_lister.cc b/net/base/directory_lister.cc
index 51cbd12dcc4fb98c168c7e4d71f0ed4aa6f008c9..e5ca9420c4eb19862d42487f32e8c0fbb24e8465 100644
--- a/net/base/directory_lister.cc
+++ b/net/base/directory_lister.cc
@@ -144,6 +144,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.
« no previous file with comments | « net/base/directory_lister.h ('k') | net/base/layered_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698