Chromium Code Reviews| Index: components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc |
| diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc |
| index 12702868ce18b6f1d878ccbdccc6db9bb03d10ec..c2d71f4fd0862f69009f6f8337353819e62fab30 100644 |
| --- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc |
| +++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc |
| @@ -11,6 +11,7 @@ |
| #include <vector> |
| #include "base/bind.h" |
| +#include "base/debug/dump_without_crashing.h" |
| #include "base/memory/ptr_util.h" |
| #include "base/strings/utf_string_conversions.h" |
| #include "components/autofill/core/browser/proto/autofill_sync.pb.h" |
| @@ -25,6 +26,7 @@ |
| using base::Optional; |
| using base::Time; |
| +using base::debug::DumpWithoutCrashing; |
| using sync_pb::AutofillSpecifics; |
| using syncer::EntityChange; |
| using syncer::EntityChangeList; |
| @@ -274,7 +276,10 @@ void AutocompleteSyncBridge::CreateForWebDataServiceAndBackend( |
| web_data_service->GetDBUserData()->SetUserData( |
| UserDataKey(), |
| new AutocompleteSyncBridge( |
| - web_data_backend, base::Bind(&ModelTypeChangeProcessor::Create))); |
| + web_data_backend, |
| + base::BindRepeating( |
| + &ModelTypeChangeProcessor::Create, |
| + base::BindRepeating(base::IgnoreResult(&DumpWithoutCrashing))))); |
|
skym
2017/01/19 17:58:36
Can you plumb channel through to here and filter o
maxbogue
2017/01/20 20:39:47
Whoops, I never responded to this. I've prepared a
|
| } |
| // static |