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

Unified Diff: sync/test/fake_server/fake_server_entity.h

Issue 600083003: Fix memory leak in Sync FakeServerEntity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
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 | « sync/test/fake_server/fake_server.cc ('k') | sync/test/fake_server/permanent_entity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/fake_server_entity.h
diff --git a/sync/test/fake_server/fake_server_entity.h b/sync/test/fake_server/fake_server_entity.h
index b7c5990ea2e3b2925421f5391a288c59cfba7c98..6c7b94414005dca8c88c40061d3131e53ed1b393 100644
--- a/sync/test/fake_server/fake_server_entity.h
+++ b/sync/test/fake_server/fake_server_entity.h
@@ -38,7 +38,7 @@ class FakeServerEntity {
// Common data items needed by server
virtual std::string GetParentId() const = 0;
- virtual sync_pb::SyncEntity* SerializeAsProto() = 0;
+ virtual void SerializeAsProto(sync_pb::SyncEntity* proto) = 0;
virtual bool IsDeleted() const = 0;
virtual bool IsFolder() const = 0;
« no previous file with comments | « sync/test/fake_server/fake_server.cc ('k') | sync/test/fake_server/permanent_entity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698