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

Unified Diff: content/browser/background_sync/background_sync_registration.h

Issue 1763123002: [BackgroundSync] Remove BackgroundSyncRegistrationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove default rvalue functions due to msvc Created 4 years, 9 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
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 bcfe375d875390ed2618f4ec6647253652238dfe..be388ee0e900ebac445db939f708575c161856b5 100644
--- a/content/browser/background_sync/background_sync_registration.h
+++ b/content/browser/background_sync/background_sync_registration.h
@@ -28,6 +28,10 @@ class CONTENT_EXPORT BackgroundSyncRegistration {
static const RegistrationId kInitialId;
BackgroundSyncRegistration();
+ BackgroundSyncRegistration(const BackgroundSyncRegistration& other) = default;
iclelland 2016/03/08 16:48:14 Style question -- these are defined default inline
jkarlin 2016/03/08 19:37:36 Thanks. They're supposed to be in the header.
+ BackgroundSyncRegistration& operator=(
+ const BackgroundSyncRegistration& other) = default;
+
~BackgroundSyncRegistration();
bool Equals(const BackgroundSyncRegistration& other) const;
@@ -57,9 +61,6 @@ class CONTENT_EXPORT BackgroundSyncRegistration {
BackgroundSyncState sync_state_ = BackgroundSyncState::PENDING;
int num_attempts_ = 0;
base::Time delay_until_;
-
-
- DISALLOW_COPY_AND_ASSIGN(BackgroundSyncRegistration);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698