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

Unified Diff: chrome_elf/create_file/chrome_create_file.cc

Issue 154653002: Breakpad coverage for chrome_elf start up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests on chromium builds 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/create_file/chrome_create_file.h ('k') | chrome_elf/create_file/chrome_create_file_unittest.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.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();
« no previous file with comments | « chrome_elf/create_file/chrome_create_file.h ('k') | chrome_elf/create_file/chrome_create_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698