| Index: components/history/core/browser/history_service.cc
|
| diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
|
| index c7f0e7fb79faa976be11be0c282cea587b998f43..a1557b670a2ddc57c9beb9b25a944ffcafa9798d 100644
|
| --- a/components/history/core/browser/history_service.cc
|
| +++ b/components/history/core/browser/history_service.cc
|
| @@ -107,11 +107,12 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
|
| : history_service_(history_service),
|
| service_task_runner_(service_task_runner) {}
|
|
|
| - void NotifyProfileError(sql::InitStatus init_status) override {
|
| + void NotifyProfileError(const base::FilePath& corrupted_file,
|
| + sql::InitStatus init_status) override {
|
| // Send to the history service on the main thread.
|
| service_task_runner_->PostTask(
|
| FROM_HERE, base::Bind(&HistoryService::NotifyProfileError,
|
| - history_service_, init_status));
|
| + history_service_, corrupted_file, init_status));
|
| }
|
|
|
| void SetInMemoryBackend(
|
| @@ -966,10 +967,11 @@ void HistoryService::SetInMemoryBackend(
|
| in_memory_backend_->AttachToHistoryService(this);
|
| }
|
|
|
| -void HistoryService::NotifyProfileError(sql::InitStatus init_status) {
|
| +void HistoryService::NotifyProfileError(const base::FilePath& corrupted_file,
|
| + sql::InitStatus init_status) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (history_client_)
|
| - history_client_->NotifyProfileError(init_status);
|
| + history_client_->NotifyProfileError(corrupted_file, init_status);
|
| }
|
|
|
| void HistoryService::DeleteURL(const GURL& url) {
|
|
|