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

Side by Side Diff: chrome_elf/blacklist/blacklist.h

Issue 1537333002: Switch to standard integer types in chrome_elf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean Created 4 years, 12 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
« no previous file with comments | « no previous file | chrome_elf/blacklist/blacklist.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BLACKLIST_BLACKLIST_H_ 5 #ifndef CHROME_ELF_BLACKLIST_BLACKLIST_H_
6 #define CHROME_ELF_BLACKLIST_BLACKLIST_H_ 6 #define CHROME_ELF_BLACKLIST_BLACKLIST_H_
7 7
8 #if defined(_WIN64) 8 #if defined(_WIN64)
9 #include "sandbox/win/src/sandbox_nt_types.h" 9 #include "sandbox/win/src/sandbox_nt_types.h"
10 #endif 10 #endif
11 11
12 #include <stddef.h>
13
12 namespace blacklist { 14 namespace blacklist {
13 15
14 // Max size of the DLL blacklist. 16 // Max size of the DLL blacklist.
15 const size_t kTroublesomeDllsMaxCount = 64; 17 const size_t kTroublesomeDllsMaxCount = 64;
16 18
17 // The DLL blacklist. 19 // The DLL blacklist.
18 extern const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount]; 20 extern const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount];
19 21
20 #if defined(_WIN64) 22 #if defined(_WIN64)
21 extern NtMapViewOfSectionFunction g_nt_map_view_of_section_func; 23 extern NtMapViewOfSectionFunction g_nt_map_view_of_section_func;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 75
74 // Initializes the DLL blacklist in the current process. This should be called 76 // Initializes the DLL blacklist in the current process. This should be called
75 // before any undesirable DLLs might be loaded. If |force| is set to true, then 77 // before any undesirable DLLs might be loaded. If |force| is set to true, then
76 // initialization will take place even if a beacon is present. This is useful 78 // initialization will take place even if a beacon is present. This is useful
77 // for tests. 79 // for tests.
78 bool Initialize(bool force); 80 bool Initialize(bool force);
79 81
80 } // namespace blacklist 82 } // namespace blacklist
81 83
82 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_H_ 84 #endif // CHROME_ELF_BLACKLIST_BLACKLIST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_elf/blacklist/blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698