Index: src/google_breakpad/processor/code_module.h |
diff --git a/src/google_breakpad/processor/code_module.h b/src/google_breakpad/processor/code_module.h |
index 4e8928243ca2f87d76d16714f7e14ba0a9700049..b139907c44c497072e2a739c03e6020ce63a39f9 100644 |
--- a/src/google_breakpad/processor/code_module.h |
+++ b/src/google_breakpad/processor/code_module.h |
@@ -86,7 +86,14 @@ class CodeModule { |
// ownership of. The new CodeModule may be of a different concrete class |
// than the CodeModule being copied, but will behave identically to the |
// copied CodeModule as far as the CodeModule interface is concerned. |
- virtual const CodeModule* Copy() const = 0; |
+ virtual CodeModule* Copy() const = 0; |
+ |
+ // Getter and setter for shrink_down_delta. This is used when the address |
+ // range for a module is shrunk down due to address range conflicts with |
+ // other modules. The base_address and size fields are not updated and they |
+ // should always reflect the original values (reported in the minidump). |
+ virtual uint64_t shrink_down_delta() const = 0; |
+ virtual void SetShrinkDownDelta(uint64_t shrink_down_delta) = 0; |
}; |
} // namespace google_breakpad |