Use GetUploadsEnabled to return GetShouldUpload
This commit is contained in:
parent
5a1a2616aa
commit
285a36f9de
7 changed files with 31 additions and 7 deletions
|
@ -42,6 +42,8 @@ void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,
|
|||
base::Bind(&CrashReporter::GetUploadedReports, report));
|
||||
dict.SetMethod("_setShouldUpload",
|
||||
base::Bind(&CrashReporter::SetShouldUpload, report));
|
||||
dict.SetMethod("_getShouldUpload",
|
||||
base::Bind(&CrashReporter::GetShouldUpload, report));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue