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

Unified Diff: chrome/browser/file_path_watcher_mac.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_mac.cc
===================================================================
--- chrome/browser/file_path_watcher_mac.cc (revision 58317)
+++ chrome/browser/file_path_watcher_mac.cc (working copy)
@@ -107,7 +107,7 @@
DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE));
DCHECK(!target_.empty());
- 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)) {
@@ -150,7 +150,7 @@
FSEventStreamEventId start_event = FSEventsGetCurrentEventId();
- 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