| Index: components/sync/engine/attachments/on_disk_attachment_store.h
|
| diff --git a/components/sync/engine/attachments/on_disk_attachment_store.h b/components/sync/engine/attachments/on_disk_attachment_store.h
|
| index 9e2512f3071196731b08f9837cecf4db380c346e..af63ecf0f42691166602d603ab3aa4ad384590cd 100644
|
| --- a/components/sync/engine/attachments/on_disk_attachment_store.h
|
| +++ b/components/sync/engine/attachments/on_disk_attachment_store.h
|
| @@ -11,7 +11,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "components/sync/engine/attachments/attachment_store_backend.h"
|
| #include "components/sync/model/attachments/attachment.h"
|
| #include "components/sync/model/attachments/attachment_id.h"
|
| @@ -33,8 +33,7 @@ namespace syncer {
|
|
|
| // On-disk implementation of AttachmentStore. Stores attachments in leveldb
|
| // database in |path| directory.
|
| -class OnDiskAttachmentStore : public AttachmentStoreBackend,
|
| - public base::NonThreadSafe {
|
| +class OnDiskAttachmentStore : public AttachmentStoreBackend {
|
| public:
|
| // Constructs attachment store.
|
| OnDiskAttachmentStore(
|
| @@ -99,6 +98,8 @@ class OnDiskAttachmentStore : public AttachmentStoreBackend,
|
| const base::FilePath path_;
|
| std::unique_ptr<leveldb::DB> db_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(OnDiskAttachmentStore);
|
| };
|
|
|
|
|