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

Unified Diff: sync/internal_api/public/base/invalidation.h

Issue 11624037: [sync] Componentize sync: Part 6: Add more SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-export WeakHandleCoreBase Created 8 years 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
Index: sync/internal_api/public/base/invalidation.h
diff --git a/sync/internal_api/public/base/invalidation.h b/sync/internal_api/public/base/invalidation.h
index 18afcabdd747203d72d913869726e478fb51aee9..ec11309d33ef3081ce715018bba36cc60eca0ac5 100644
--- a/sync/internal_api/public/base/invalidation.h
+++ b/sync/internal_api/public/base/invalidation.h
@@ -32,6 +32,8 @@ class SYNC_EXPORT AckHandle {
bool IsValid() const;
+ virtual ~AckHandle();
akalin 2012/12/27 19:48:52 hunh, why is this necessary? Nothing inherits fro
Raghu Simha 2013/01/02 06:49:24 You're right that the destructors don't have to be
+
private:
// Explicitly copyable and assignable for STL containers.
AckHandle(const std::string& state, base::Time timestamp);
@@ -45,8 +47,9 @@ class SYNC_EXPORT AckHandle {
// associated ack handle that an InvalidationHandler implementation can use to
// acknowledge receipt of the invalidation. It does not embed the object ID,
// since it is typically associated with it through ObjectIdInvalidationMap.
-struct Invalidation {
+struct SYNC_EXPORT Invalidation {
Invalidation();
+ virtual ~Invalidation();
akalin 2012/12/27 19:48:52 here, too
Raghu Simha 2013/01/02 06:49:24 Made this non-virtual too.
bool Equals(const Invalidation& other) const;

Powered by Google App Engine
This is Rietveld 408576698