Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1509)

Unified Diff: sync/api/attachments/fake_attachment_store.h

Issue 548373003: Move AttachmentStore ownership to datatype (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Changes after feedback. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/api/attachments/attachment_store.h ('k') | sync/api/attachments/fake_attachment_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/attachments/fake_attachment_store.h
diff --git a/sync/api/attachments/fake_attachment_store.h b/sync/api/attachments/fake_attachment_store.h
index 35fad173ac4bdbe30d8fcb54323849ff05f56395..9ac7006e7e5de469bfe793b03c569deb5901e9ed 100644
--- a/sync/api/attachments/fake_attachment_store.h
+++ b/sync/api/attachments/fake_attachment_store.h
@@ -36,8 +36,6 @@ class SYNC_EXPORT FakeAttachmentStore : public AttachmentStore {
explicit FakeAttachmentStore(
const scoped_refptr<base::SequencedTaskRunner>& backend_task_runner);
- virtual ~FakeAttachmentStore();
-
// AttachmentStore implementation.
virtual void Read(const AttachmentIdList& id,
const ReadCallback& callback) OVERRIDE;
@@ -49,6 +47,8 @@ class SYNC_EXPORT FakeAttachmentStore : public AttachmentStore {
private:
class Backend;
+ virtual ~FakeAttachmentStore();
+
scoped_refptr<Backend> backend_;
scoped_refptr<base::SequencedTaskRunner> backend_task_runner_;
« no previous file with comments | « sync/api/attachments/attachment_store.h ('k') | sync/api/attachments/fake_attachment_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698