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

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: Rebase 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
« no previous file with comments | « chrome_elf/chrome_redirects_main.cc ('k') | chrome_elf/create_file/chrome_create_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dac93af072dcd100b8b17cb7a3143dbceb055c9f..f9f15c356348155c3cccfcef47a203435a5e927a 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 the count of CreateFile calls redirected so far.
+extern "C" int GetRedirectCount();
+
// Partial reimplementation of kernel32!CreateFile (very partial: only handles
// reading and writing to files in the User Data directory).
HANDLE CreateFileNTDLL(
« no previous file with comments | « chrome_elf/chrome_redirects_main.cc ('k') | chrome_elf/create_file/chrome_create_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698