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

Unified Diff: net/url_request/url_request_file_job.cc

Issue 3347005: Moving file_util::FileInfo to base::PlatformFileInfo, and adding the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/url_request/url_request_file_job.cc
===================================================================
--- net/url_request/url_request_file_job.cc (revision 58317)
+++ net/url_request/url_request_file_job.cc (working copy)
@@ -47,7 +47,7 @@
}
void Resolve(const FilePath& file_path) {
- file_util::FileInfo file_info;
+ base::PlatformFileInfo file_info;
bool exists = file_util::GetFileInfo(file_path, &file_info);
AutoLock locked(lock_);
if (owner_loop_) {
@@ -68,7 +68,7 @@
~AsyncResolver() {}
- void ReturnResults(bool exists, const file_util::FileInfo& file_info) {
+ void ReturnResults(bool exists, const base::PlatformFileInfo& file_info) {
if (owner_)
owner_->DidResolve(exists, file_info);
}
@@ -128,7 +128,7 @@
return;
}
#endif
- file_util::FileInfo file_info;
+ base::PlatformFileInfo file_info;
bool exists = file_util::GetFileInfo(file_path_, &file_info);
// Continue asynchronously.
@@ -221,7 +221,7 @@
}
void URLRequestFileJob::DidResolve(
- bool exists, const file_util::FileInfo& file_info) {
+ bool exists, const base::PlatformFileInfo& file_info) {
#if defined(OS_WIN)
async_resolver_ = NULL;
#endif

Powered by Google App Engine
This is Rietveld 408576698