Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / breakpad / src / processor / stackwalker_unittest_utils.h
index a72b8e0..73ceb19 100644 (file)
@@ -36,6 +36,7 @@
 #ifndef PROCESSOR_STACKWALKER_UNITTEST_UTILS_H_
 #define PROCESSOR_STACKWALKER_UNITTEST_UTILS_H_
 
+#include <assert.h>
 #include <stdlib.h>
 #include <string>
 #include <vector>
@@ -75,6 +76,9 @@ class MockMemoryRegion: public google_breakpad::MemoryRegion {
   bool GetMemoryAtAddress(uint64_t address, uint64_t *value) const {
     return GetMemoryLittleEndian(address, value);
   }
+  void Print() const {
+    assert(false);
+  }
 
  private:
   // Fetch a little-endian value from ADDRESS in contents_ whose size