OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> | |
9 | |
10 #include <set> | 8 #include <set> |
11 | 9 |
12 #include "sandbox/win/src/interception.h" | 10 #include "sandbox/win/src/interception.h" |
13 | 11 |
14 #include "base/logging.h" | 12 #include "base/logging.h" |
15 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
16 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
17 #include "base/win/pe_image.h" | 15 #include "base/win/pe_image.h" |
18 #include "base/win/windows_version.h" | 16 #include "base/win/windows_version.h" |
19 #include "sandbox/win/src/interception_internal.h" | 17 #include "sandbox/win/src/interception_internal.h" |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 ::FreeLibrary(local_interceptor); | 549 ::FreeLibrary(local_interceptor); |
552 #endif | 550 #endif |
553 | 551 |
554 if (it != interceptions_.end()) | 552 if (it != interceptions_.end()) |
555 return false; | 553 return false; |
556 | 554 |
557 return true; | 555 return true; |
558 } | 556 } |
559 | 557 |
560 } // namespace sandbox | 558 } // namespace sandbox |
OLD | NEW |