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

Unified Diff: sync/internal_api/public/attachments/attachment_service_proxy_for_test.h

Issue 575383002: Make it clear that WeakPtrFactory is the last data member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/attachments/attachment_service_proxy_for_test.h
diff --git a/sync/internal_api/public/attachments/attachment_service_proxy_for_test.h b/sync/internal_api/public/attachments/attachment_service_proxy_for_test.h
index eb1e25df4ef57074b7d0943fbe641c74dd3e0e07..b5cbdcaaae5933e07afa871cc1bc2622ef7ee315 100644
--- a/sync/internal_api/public/attachments/attachment_service_proxy_for_test.h
+++ b/sync/internal_api/public/attachments/attachment_service_proxy_for_test.h
@@ -32,12 +32,12 @@ class SYNC_EXPORT AttachmentServiceProxyForTest
scoped_ptr<base::WeakPtrFactory<AttachmentService> > weak_ptr_factory);
private:
+ virtual ~OwningCore();
+
scoped_ptr<AttachmentService> wrapped_;
// WeakPtrFactory for wrapped_. See Create() for why this is a scoped_ptr.
scoped_ptr<base::WeakPtrFactory<AttachmentService> > weak_ptr_factory_;
- virtual ~OwningCore();
-
DISALLOW_COPY_AND_ASSIGN(OwningCore);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698