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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 4 years, 12 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/win/src/registry_policy.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 <stddef.h>
10
11 #include "base/macros.h"
10 #include "sandbox/win/src/nt_internals.h" 12 #include "sandbox/win/src/nt_internals.h"
11 13
12 #ifndef SANDBOX_SRC_RESOLVER_H__ 14 #ifndef SANDBOX_SRC_RESOLVER_H__
13 #define SANDBOX_SRC_RESOLVER_H__ 15 #define SANDBOX_SRC_RESOLVER_H__
14 16
15 namespace sandbox { 17 namespace sandbox {
16 18
17 // A resolver is the object in charge of performing the actual interception of 19 // 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 20 // a function. There should be a concrete implementation of a resolver roughly
19 // per type of interception. 21 // per type of interception.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void* target_; 98 void* target_;
97 // Holds the resolved interception interceptor. 99 // Holds the resolved interception interceptor.
98 const void* interceptor_; 100 const void* interceptor_;
99 101
100 DISALLOW_COPY_AND_ASSIGN(ResolverThunk); 102 DISALLOW_COPY_AND_ASSIGN(ResolverThunk);
101 }; 103 };
102 104
103 } // namespace sandbox 105 } // namespace sandbox
104 106
105 #endif // SANDBOX_SRC_RESOLVER_H__ 107 #endif // SANDBOX_SRC_RESOLVER_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/registry_policy.cc ('k') | sandbox/win/src/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698