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

Side by Side Diff: sandbox/win/src/resolver.h

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/registry_policy_test.cc ('k') | sandbox/win/src/resolver.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 details see 6 // For more details see
7 // http://dev.chromium.org/developers/design-documents/sandbox . 7 // http://dev.chromium.org/developers/design-documents/sandbox .
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "sandbox/src/nt_internals.h" 10 #include "sandbox/win/src/nt_internals.h"
11 11
12 #ifndef SANDBOX_SRC_RESOLVER_H__ 12 #ifndef SANDBOX_SRC_RESOLVER_H__
13 #define SANDBOX_SRC_RESOLVER_H__ 13 #define SANDBOX_SRC_RESOLVER_H__
14 14
15 namespace sandbox { 15 namespace sandbox {
16 16
17 // 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
18 // a function. There should be a concrete implementation of a resolver roughly 18 // a function. There should be a concrete implementation of a resolver roughly
19 // per type of interception. 19 // per type of interception.
20 class ResolverThunk { 20 class ResolverThunk {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void* target_; 96 void* target_;
97 // Holds the resolved interception interceptor. 97 // Holds the resolved interception interceptor.
98 const void* interceptor_; 98 const void* interceptor_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(ResolverThunk); 100 DISALLOW_COPY_AND_ASSIGN(ResolverThunk);
101 }; 101 };
102 102
103 } // namespace sandbox 103 } // namespace sandbox
104 104
105 #endif // SANDBOX_SRC_RESOLVER_H__ 105 #endif // SANDBOX_SRC_RESOLVER_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/registry_policy_test.cc ('k') | sandbox/win/src/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698