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

Unified Diff: chrome_elf/create_file/chrome_create_file.h

Issue 169093007: Modify fileAtPath stat to track if the call was redirected by chrome_elf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove beacon bits Created 6 years, 10 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_elf/create_file/chrome_create_file.h
diff --git a/chrome_elf/create_file/chrome_create_file.h b/chrome_elf/create_file/chrome_create_file.h
index df38986ce908fe123f51005a54b4bd334b1be20d..18676c3a68f316d802237357c393fa670379c1da 100644
--- a/chrome_elf/create_file/chrome_create_file.h
+++ b/chrome_elf/create_file/chrome_create_file.h
@@ -20,6 +20,9 @@ extern "C" HANDLE WINAPI CreateFileWRedirect(
DWORD flags_and_attributes,
HANDLE template_file);
+// Returns if true if the last call to CreateFile was redirected.
robertshield 2014/02/18 19:36:03 s/Returns if true/Returns true
Cait (Slow) 2014/02/18 23:17:18 Done.
+extern "C" bool LastCallWasRedirected();
+
// Partial reimplementation of kernel32!CreateFile (very partial: only handles
// reading and writing to files in the User Data directory).
HANDLE CreateFileNTDLL(

Powered by Google App Engine
This is Rietveld 408576698