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

Unified Diff: sandbox/src/eat_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/src/dep_test.cc ('k') | sandbox/src/eat_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/src/eat_resolver.h
diff --git a/sandbox/src/eat_resolver.h b/sandbox/src/eat_resolver.h
deleted file mode 100644
index 0d5b3e0f1b2a2d8f2c3836bd0c284bbccb244ccd..0000000000000000000000000000000000000000
--- a/sandbox/src/eat_resolver.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SANDBOX_SRC_EAT_RESOLVER_H__
-#define SANDBOX_SRC_EAT_RESOLVER_H__
-
-#include "base/basictypes.h"
-#include "sandbox/src/nt_internals.h"
-#include "sandbox/src/resolver.h"
-
-namespace sandbox {
-
-// This is the concrete resolver used to perform exports table interceptions.
-class EatResolverThunk : public ResolverThunk {
- public:
- EatResolverThunk() : eat_entry_(NULL) {}
- virtual ~EatResolverThunk() {}
-
- // Implementation of Resolver::Setup.
- virtual NTSTATUS Setup(const void* target_module,
- const void* interceptor_module,
- const char* target_name,
- const char* interceptor_name,
- const void* interceptor_entry_point,
- void* thunk_storage,
- size_t storage_bytes,
- size_t* storage_used);
-
- // Implementation of Resolver::ResolveTarget.
- virtual NTSTATUS ResolveTarget(const void* module,
- const char* function_name,
- void** address);
-
- // Implementation of Resolver::GetThunkSize.
- virtual size_t GetThunkSize() const;
-
- private:
- // The entry to patch.
- DWORD* eat_entry_;
-
- DISALLOW_COPY_AND_ASSIGN(EatResolverThunk);
-};
-
-} // namespace sandbox
-
-
-#endif // SANDBOX_SRC_EAT_RESOLVER_H__
« no previous file with comments | « sandbox/src/dep_test.cc ('k') | sandbox/src/eat_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698