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

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

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 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 | « chrome_elf/DEPS ('k') | chrome_elf/blacklist/test/blacklist_test_main_dll.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 #include "chrome_elf/blacklist/blacklist.h" 5 #include "chrome_elf/blacklist/blacklist.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "chrome/install_static/install_util.h"
12 #include "chrome_elf/blacklist/blacklist_interceptions.h" 13 #include "chrome_elf/blacklist/blacklist_interceptions.h"
13 #include "chrome_elf/chrome_elf_constants.h" 14 #include "chrome_elf/chrome_elf_constants.h"
14 #include "chrome_elf/chrome_elf_util.h"
15 #include "chrome_elf/thunk_getter.h" 15 #include "chrome_elf/thunk_getter.h"
16 #include "sandbox/win/src/interception_internal.h" 16 #include "sandbox/win/src/interception_internal.h"
17 #include "sandbox/win/src/internal_types.h" 17 #include "sandbox/win/src/internal_types.h"
18 #include "sandbox/win/src/service_resolver.h" 18 #include "sandbox/win/src/service_resolver.h"
19 19
20 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx 20 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx
21 extern "C" IMAGE_DOS_HEADER __ImageBase; 21 extern "C" IMAGE_DOS_HEADER __ImageBase;
22 22
23 namespace blacklist{ 23 namespace blacklist{
24 24
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 break; 448 break;
449 value_buffer[value_len - 1] = L'\0'; 449 value_buffer[value_len - 1] = L'\0';
450 AddDllToBlacklist(&value_buffer[0]); 450 AddDllToBlacklist(&value_buffer[0]);
451 } 451 }
452 452
453 ::RegCloseKey(key); 453 ::RegCloseKey(key);
454 return; 454 return;
455 } 455 }
456 456
457 } // namespace blacklist 457 } // namespace blacklist
OLDNEW
« no previous file with comments | « chrome_elf/DEPS ('k') | chrome_elf/blacklist/test/blacklist_test_main_dll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698