| Index: sync/internal_api/attachments/on_disk_attachment_store.cc
|
| diff --git a/sync/internal_api/attachments/on_disk_attachment_store.cc b/sync/internal_api/attachments/on_disk_attachment_store.cc
|
| index 699e1f5add122106a7f7030881e3c9731d295c2d..2699451858af962aefccf0e9dcef2e08afbda4cf 100644
|
| --- a/sync/internal_api/attachments/on_disk_attachment_store.cc
|
| +++ b/sync/internal_api/attachments/on_disk_attachment_store.cc
|
| @@ -13,6 +13,7 @@
|
| #include "sync/internal_api/attachments/proto/attachment_store.pb.h"
|
| #include "sync/internal_api/public/attachments/attachment_util.h"
|
| #include "sync/protocol/attachments.pb.h"
|
| +#include "third_party/leveldatabase/env_chromium.h"
|
| #include "third_party/leveldatabase/src/include/leveldb/db.h"
|
| #include "third_party/leveldatabase/src/include/leveldb/options.h"
|
| #include "third_party/leveldatabase/src/include/leveldb/slice.h"
|
| @@ -261,6 +262,7 @@ AttachmentStore::Result OnDiskAttachmentStore::OpenOrCreate(
|
| scoped_ptr<leveldb::DB> db;
|
| leveldb::Options options;
|
| options.create_if_missing = true;
|
| + options.reuse_logs = leveldb_env::kDefaultLogReuseOptionValue;
|
| // TODO(pavely): crbug/424287 Consider adding info_log, block_cache and
|
| // filter_policy to options.
|
| leveldb::Status status =
|
|
|