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

Side by Side Diff: chrome_elf/create_file/chrome_create_file.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.cc ('k') | chrome_elf/create_file/chrome_create_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_ 5 #ifndef CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_
6 #define CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_ 6 #define CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "chrome_elf/chrome_elf_types.h" 10 #include "chrome_elf/chrome_elf_types.h"
(...skipping 17 matching lines...) Expand all
28 DWORD share_mode, 28 DWORD share_mode,
29 LPSECURITY_ATTRIBUTES security_attributes, 29 LPSECURITY_ATTRIBUTES security_attributes,
30 DWORD creation_disposition, 30 DWORD creation_disposition,
31 DWORD flags_and_attributes, 31 DWORD flags_and_attributes,
32 HANDLE template_file); 32 HANDLE template_file);
33 33
34 // Determines whether or not we should use our version of CreateFile, or the 34 // Determines whether or not we should use our version of CreateFile, or the
35 // system version (only uses ours if we're writing to the user data directory). 35 // system version (only uses ours if we're writing to the user data directory).
36 bool ShouldBypass(LPCWSTR file_name); 36 bool ShouldBypass(LPCWSTR file_name);
37 37
38 // Returns true if |exe_path| points to a Chrome installed in a SxS
39 // installation.
40 bool IsCanary(LPWSTR exe_path);
41
42 #endif // CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_ 38 #endif // CHROME_ELF_CREATE_FILE_CHROME_CREATE_FILE_H_
OLDNEW
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.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