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

Unified Diff: components/nacl/loader/nonsfi/elf_loader.h

Issue 1409633002: Non-SFI mode: Remove old Non-SFI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « components/nacl/loader/nonsfi/abi_conversion.cc ('k') | components/nacl/loader/nonsfi/elf_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nonsfi/elf_loader.h
diff --git a/components/nacl/loader/nonsfi/elf_loader.h b/components/nacl/loader/nonsfi/elf_loader.h
deleted file mode 100644
index c6f2771bc9fa70758466579973d6604e4a646ab1..0000000000000000000000000000000000000000
--- a/components/nacl/loader/nonsfi/elf_loader.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 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 COMPONENTS_NACL_LOADER_NONSFI_ELF_LOADER_H_
-#define COMPONENTS_NACL_LOADER_NONSFI_ELF_LOADER_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "native_client/src/include/portability.h"
-#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
-
-#if !defined(OS_LINUX)
-#error Non SFI mode is currently supported only on linux.
-#endif
-
-struct NaClDesc;
-
-namespace nacl {
-namespace nonsfi {
-
-class ElfImage {
- public:
- ElfImage();
- ~ElfImage();
-
- // Available only after Load() is called.
- uintptr_t entry_point() const;
-
- // Reads the ELF file from the descriptor and stores the header information
- // into this instance.
- NaClErrorCode Read(struct NaClDesc* descriptor);
-
- // Loads the ELF executable to the memory.
- NaClErrorCode Load(struct NaClDesc* descriptor);
-
- private:
- struct Data;
- ::scoped_ptr<Data> data_;
-
- DISALLOW_COPY_AND_ASSIGN(ElfImage);
-};
-
-} // namespace nonsfi
-} // namespace nacl
-
-#endif // COMPONENTS_NACL_LOADER_NONSFI_ELF_LOADER_H_
« no previous file with comments | « components/nacl/loader/nonsfi/abi_conversion.cc ('k') | components/nacl/loader/nonsfi/elf_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698