Index: content/browser/background_sync/background_sync_registration.h |
diff --git a/content/browser/background_sync/background_sync_registration.h b/content/browser/background_sync/background_sync_registration.h |
index 94d764811eb6fc2136fa96e1e71f78894af5067d..7191d52be6cd70f4184d36ef29f1920b5c8a9d82 100644 |
--- a/content/browser/background_sync/background_sync_registration.h |
+++ b/content/browser/background_sync/background_sync_registration.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ |
#define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ |
+#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/browser/background_sync/background_sync.pb.h" |
#include "content/browser/background_sync/background_sync_registration_options.h" |
@@ -20,6 +21,8 @@ class CONTENT_EXPORT BackgroundSyncRegistration { |
static const RegistrationId kInitialId; |
BackgroundSyncRegistration(); |
+ ~BackgroundSyncRegistration(); |
+ |
bool Equals(const BackgroundSyncRegistration& other) const; |
bool IsValid() const; |
@@ -38,6 +41,8 @@ class CONTENT_EXPORT BackgroundSyncRegistration { |
BackgroundSyncRegistrationOptions options_; |
RegistrationId id_ = kInvalidRegistrationId; |
SyncState sync_state_ = SYNC_STATE_PENDING; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(BackgroundSyncRegistration); |
}; |
} // namespace content |