provide default error message

This commit is contained in:
deepak1556 2015-05-11 10:24:44 +05:30
parent 9ab53b0e4b
commit 24bcd3b21e
2 changed files with 4 additions and 2 deletions

View file

@ -106,7 +106,8 @@ class CustomProtocolRequestJob : public AdapterRequestJob {
GetWeakPtr(), path));
return;
} else if (name == "RequestErrorJob") {
int error;
// Default value net::ERR_NOT_IMPLEMENTED
int error = -11;
dict.Get("error", &error);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,