diff options
author | Callum Prentice <callum@lindenlab.com> | 2014-04-14 10:49:18 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2014-04-14 10:49:18 -0700 |
commit | 8fd239233dca9639c6d0139e8f697da97bfe036e (patch) | |
tree | 000d3bd2eb0619a1fdf24ff080ecfe212c2ea6f8 /indra/llcrashlogger/llcrashlogger.h | |
parent | ef095034d17bfa71dbd8525fcdda8a520bd7e20f (diff) | |
parent | 7e966f28da79d2d24f93a2615c8807421300700c (diff) |
Merge with head of viewer-releasE
Diffstat (limited to 'indra/llcrashlogger/llcrashlogger.h')
-rwxr-xr-x | indra/llcrashlogger/llcrashlogger.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcrashlogger/llcrashlogger.h b/indra/llcrashlogger/llcrashlogger.h index 1510d7e0b3..78acc63b6a 100755 --- a/indra/llcrashlogger/llcrashlogger.h +++ b/indra/llcrashlogger/llcrashlogger.h @@ -33,6 +33,7 @@ #include "llapp.h" #include "llsd.h" #include "llcontrol.h" +#include "llcrashlock.h" class LLCrashLogger : public LLApp { @@ -40,9 +41,13 @@ public: LLCrashLogger(); virtual ~LLCrashLogger(); S32 loadCrashBehaviorSetting(); + bool readDebugFromXML(LLSD& dest, const std::string& filename ); void gatherFiles(); + void mergeLogs( LLSD src_sd ); + virtual void gatherPlatformSpecificFiles() {} bool saveCrashBehaviorSetting(S32 crash_behavior); + bool sendCrashLog(std::string dump_dir); bool sendCrashLogs(); LLSD constructPostData(); virtual void updateApplication(const std::string& message = LLStringUtil::null); @@ -53,6 +58,8 @@ public: void setUserText(const std::string& text) { mCrashInfo["UserNotes"] = text; } S32 getCrashBehavior() { return mCrashBehavior; } bool runCrashLogPost(std::string host, LLSD data, std::string msg, int retries, int timeout); + bool readMinidump(std::string minidump_path); + protected: S32 mCrashBehavior; BOOL mCrashInPreviousExec; @@ -65,6 +72,7 @@ protected: std::string mAltCrashHost; LLSD mDebugLog; bool mSentCrashLogs; + LLCrashLock mKeyMaster; }; #endif //LLCRASHLOGGER_H |