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

Unified Diff: chrome/browser/file_path_watcher_win.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: chrome/browser/file_path_watcher_win.cc
===================================================================
--- chrome/browser/file_path_watcher_win.cc (revision 58317)
+++ chrome/browser/file_path_watcher_win.cc (working copy)
@@ -99,7 +99,7 @@
}
// Check whether the event applies to |target_| and notify the delegate.
- file_util::FileInfo file_info;
+ base::PlatformFileInfo file_info;
bool file_exists = file_util::GetFileInfo(target_, &file_info);
if (file_exists && (last_modified_.is_null() ||
last_modified_ != file_info.last_modified)) {
@@ -183,7 +183,7 @@
if (handle_ != INVALID_HANDLE_VALUE)
DestroyWatch();
- file_util::FileInfo file_info;
+ base::PlatformFileInfo file_info;
if (file_util::GetFileInfo(target_, &file_info)) {
last_modified_ = file_info.last_modified;
first_notification_ = base::Time::Now();

Powered by Google App Engine
This is Rietveld 408576698