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 e9653293fa200a1732993fc821bf883e9e5ff5ba..575ecf91e7e41b85a11bbbcc56f92c54a5b4b7f4 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" |
@@ -19,6 +20,9 @@ class CONTENT_EXPORT BackgroundSyncRegistration { |
using RegistrationId = int64_t; |
static const RegistrationId kInitialId; |
+ BackgroundSyncRegistration() = default; |
+ ~BackgroundSyncRegistration() = default; |
+ |
bool Equals(const BackgroundSyncRegistration& other) const; |
bool IsValid() const; |
@@ -37,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 |