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

Side by Side Diff: sandbox/src/interception.cc

Issue 179039: Fix issue 8348: unfork pe_image.h / pe_image.cc (Closed)
Patch Set: Removed unittest file and entries in .gyp file, restored #error message Created 11 years, 3 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 | « sandbox/src/eat_resolver.cc ('k') | sandbox/src/pe_image.h » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // For information about interceptions as a whole see 5 // For information about interceptions as a whole see
6 // http://dev.chromium.org/developers/design-documents/sandbox . 6 // http://dev.chromium.org/developers/design-documents/sandbox .
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "sandbox/src/interception.h" 10 #include "sandbox/src/interception.h"
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/pe_image.h"
13 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
14 #include "sandbox/src/interception_internal.h" 15 #include "sandbox/src/interception_internal.h"
15 #include "sandbox/src/pe_image.h"
16 #include "sandbox/src/sandbox.h" 16 #include "sandbox/src/sandbox.h"
17 #include "sandbox/src/sandbox_utils.h" 17 #include "sandbox/src/sandbox_utils.h"
18 #include "sandbox/src/service_resolver.h" 18 #include "sandbox/src/service_resolver.h"
19 #include "sandbox/src/target_interceptions.h" 19 #include "sandbox/src/target_interceptions.h"
20 #include "sandbox/src/target_process.h" 20 #include "sandbox/src/target_process.h"
21 #include "sandbox/src/wow64.h" 21 #include "sandbox/src/wow64.h"
22 22
23 namespace { 23 namespace {
24 24
25 const char kMapViewOfSectionName[] = "NtMapViewOfSection"; 25 const char kMapViewOfSectionName[] = "NtMapViewOfSection";
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 ::FreeLibrary(local_interceptor); 479 ::FreeLibrary(local_interceptor);
480 #endif 480 #endif
481 481
482 if (it != interceptions_.end()) 482 if (it != interceptions_.end())
483 return false; 483 return false;
484 484
485 return true; 485 return true;
486 } 486 }
487 487
488 } // namespace sandbox 488 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/src/eat_resolver.cc ('k') | sandbox/src/pe_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698