Index: chrome_elf/create_file/chrome_create_file.cc |
diff --git a/chrome_elf/create_file/chrome_create_file.cc b/chrome_elf/create_file/chrome_create_file.cc |
index b6744f3f34d38f5f34967bb4c3da44dc50b7e7d9..6bb2c78abc7db1efaddbb1fe1937b7adb0304195 100644 |
--- a/chrome_elf/create_file/chrome_create_file.cc |
+++ b/chrome_elf/create_file/chrome_create_file.cc |
@@ -8,6 +8,7 @@ |
#include "base/strings/string16.h" |
#include "chrome_elf/chrome_elf_constants.h" |
+#include "chrome_elf/chrome_elf_util.h" |
#include "chrome_elf/ntdll_cache.h" |
#include "sandbox/win/src/nt_internals.h" |
@@ -243,11 +244,6 @@ HANDLE CreateFileNTDLL( |
return file_handle; |
} |
-bool IsCanary(LPWSTR exe_path) { |
- wchar_t* found = wcsstr(exe_path, L"Google\\Chrome SxS"); |
- return !!found; |
-} |
- |
bool ShouldBypass(LPCWSTR file_path) { |
// Do not redirect in non-browser processes. |
wchar_t* command_line = ::GetCommandLine(); |