| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This is the transformation and adjustment for all executables. | 5 // This is the transformation and adjustment for all executables. |
| 6 // The executable type is determined by ParseDetectedExecutable function. | 6 // The executable type is determined by ParseDetectedExecutable function. |
| 7 | 7 |
| 8 #ifndef COURGETTE_WIN32_X86_GENERATOR_H_ | 8 #ifndef COURGETTE_WIN32_X86_GENERATOR_H_ |
| 9 #define COURGETTE_WIN32_X86_GENERATOR_H_ | 9 #define COURGETTE_WIN32_X86_GENERATOR_H_ |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 | |
| 14 #include "courgette/assembly_program.h" | 14 #include "courgette/assembly_program.h" |
| 15 #include "courgette/ensemble.h" | 15 #include "courgette/ensemble.h" |
| 16 | 16 |
| 17 namespace courgette { | 17 namespace courgette { |
| 18 | 18 |
| 19 class PatchGeneratorX86_32 : public TransformationPatchGenerator { | 19 class PatchGeneratorX86_32 : public TransformationPatchGenerator { |
| 20 public: | 20 public: |
| 21 PatchGeneratorX86_32(Element* old_element, | 21 PatchGeneratorX86_32(Element* old_element, |
| 22 Element* new_element, | 22 Element* new_element, |
| 23 PatcherX86_32* patcher, | 23 PatcherX86_32* patcher, |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 private: | 141 private: |
| 142 virtual ~PatchGeneratorX86_32() { } | 142 virtual ~PatchGeneratorX86_32() { } |
| 143 | 143 |
| 144 ExecutableType kind_; | 144 ExecutableType kind_; |
| 145 | 145 |
| 146 DISALLOW_COPY_AND_ASSIGN(PatchGeneratorX86_32); | 146 DISALLOW_COPY_AND_ASSIGN(PatchGeneratorX86_32); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 } // namespace courgette | 149 } // namespace courgette |
| 150 #endif // COURGETTE_WIN32_X86_GENERATOR_H_ | 150 #endif // COURGETTE_WIN32_X86_GENERATOR_H_ |
| OLD | NEW |