| OLD | NEW |
| 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 // Defines ResolverThunk, the interface for classes that perform interceptions. | 5 // Defines ResolverThunk, the interface for classes that perform interceptions. |
| 6 // For more datails see http://wiki/Main/ChromeSandboxInterceptionDesign | 6 // For more details see |
| 7 // http://dev.chromium.org/developers/design-documents/sandbox . |
| 7 | 8 |
| 8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 9 #include "sandbox/src/nt_internals.h" | 10 #include "sandbox/src/nt_internals.h" |
| 10 | 11 |
| 11 #ifndef SANDBOX_SRC_RESOLVER_H__ | 12 #ifndef SANDBOX_SRC_RESOLVER_H__ |
| 12 #define SANDBOX_SRC_RESOLVER_H__ | 13 #define SANDBOX_SRC_RESOLVER_H__ |
| 13 | 14 |
| 14 namespace sandbox { | 15 namespace sandbox { |
| 15 | 16 |
| 16 // A resolver is the object in charge of performing the actual interception of | 17 // A resolver is the object in charge of performing the actual interception of |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 void* target_; | 94 void* target_; |
| 94 // Holds the resolved interception interceptor. | 95 // Holds the resolved interception interceptor. |
| 95 const void* interceptor_; | 96 const void* interceptor_; |
| 96 | 97 |
| 97 DISALLOW_EVIL_CONSTRUCTORS(ResolverThunk); | 98 DISALLOW_EVIL_CONSTRUCTORS(ResolverThunk); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace sandbox | 101 } // namespace sandbox |
| 101 | 102 |
| 102 #endif // SANDBOX_SRC_RESOLVER_H__ | 103 #endif // SANDBOX_SRC_RESOLVER_H__ |
| OLD | NEW |