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