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

Side by Side Diff: courgette/courgette.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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
OLDNEW
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 #ifndef COURGETTE_COURGETTE_H_ 5 #ifndef COURGETTE_COURGETTE_H_
6 #define COURGETTE_COURGETTE_H_ 6 #define COURGETTE_COURGETTE_H_
7 7
8 #include <stddef.h> // Required to define size_t on GCC 8 #include <stddef.h> // Required to define size_t on GCC
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 EXE_UNKNOWN = 0, 56 EXE_UNKNOWN = 0,
57 EXE_WIN_32_X86 = 1, 57 EXE_WIN_32_X86 = 1,
58 EXE_ELF_32_X86 = 2, 58 EXE_ELF_32_X86 = 2,
59 EXE_ELF_32_ARM = 3, 59 EXE_ELF_32_ARM = 3,
60 EXE_WIN_32_X64 = 4, 60 EXE_WIN_32_X64 = 4,
61 }; 61 };
62 62
63 class SinkStream; 63 class SinkStream;
64 class SinkStreamSet; 64 class SinkStreamSet;
65 class SourceStream; 65 class SourceStream;
66 class SourceStreamSet;
67 66
68 class AssemblyProgram; 67 class AssemblyProgram;
69 class EncodedProgram; 68 class EncodedProgram;
70 69
71 // Applies the patch to the bytes in |old| and writes the transformed ensemble 70 // Applies the patch to the bytes in |old| and writes the transformed ensemble
72 // to |output|. 71 // to |output|.
73 // Returns C_OK unless something went wrong. 72 // Returns C_OK unless something went wrong.
74 Status ApplyEnsemblePatch(SourceStream* old, SourceStream* patch, 73 Status ApplyEnsemblePatch(SourceStream* old, SourceStream* patch,
75 SinkStream* output); 74 SinkStream* output);
76 75
(...skipping 21 matching lines...) Expand all
98 // |buffer| in an undefined state. 97 // |buffer| in an undefined state.
99 Status Assemble(EncodedProgram* encoded, SinkStream* buffer); 98 Status Assemble(EncodedProgram* encoded, SinkStream* buffer);
100 99
101 // Adjusts |program| to look more like |model|. 100 // Adjusts |program| to look more like |model|.
102 // 101 //
103 Status Adjust(const AssemblyProgram& model, AssemblyProgram *program); 102 Status Adjust(const AssemblyProgram& model, AssemblyProgram *program);
104 103
105 } // namespace courgette 104 } // namespace courgette
106 105
107 #endif // COURGETTE_COURGETTE_H_ 106 #endif // COURGETTE_COURGETTE_H_
OLDNEW
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h ('k') | courgette/disassembler_elf_32_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698