Add API to set product name for crash reporter.

This commit is contained in:
Cheng Zhao 2013-11-13 19:12:13 +08:00
parent e7d25385b0
commit a6989847ea
5 changed files with 27 additions and 3 deletions

View file

@ -17,6 +17,7 @@ class CrashReporter {
static void Initialize(v8::Handle<v8::Object> target);
private:
static v8::Handle<v8::Value> SetProductName(const v8::Arguments &args);
static v8::Handle<v8::Value> SetCompanyName(const v8::Arguments &args);
static v8::Handle<v8::Value> SetSubmissionURL(const v8::Arguments &args);
static v8::Handle<v8::Value> SetAutoSubmit(const v8::Arguments &args);