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

Unified Diff: content/common/file_utilities_messages.h

Issue 10441016: Add FileUtilities::GetFileInfo() to capture file metadata with single IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/common/file_utilities_messages.h
diff --git a/content/common/file_utilities_messages.h b/content/common/file_utilities_messages.h
index 642ab8bf3b0a6e84f2dd72d7693e6f7463e5fe6a..493f4513439cb1097321bb052b104312b0080fba 100644
--- a/content/common/file_utilities_messages.h
+++ b/content/common/file_utilities_messages.h
@@ -25,6 +25,11 @@ IPC_SYNC_MESSAGE_CONTROL1_1(FileUtilitiesMsg_GetFileModificationTime,
FilePath /* path */,
base::Time /* result */)
+IPC_SYNC_MESSAGE_CONTROL1_2(FileUtilitiesMsg_GetFileInfo,
+ FilePath /* path */,
+ base::PlatformFileInfo /* result */,
+ base::PlatformFileError /* status */)
+
// Open the file.
IPC_SYNC_MESSAGE_CONTROL2_1(FileUtilitiesMsg_OpenFile,
FilePath /* path */,

Powered by Google App Engine
This is Rietveld 408576698