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

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

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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/internal_api/public/base/invalidation.h ('k') | sync/internal_api/public/base/invalidation_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/base/invalidation.cc
diff --git a/sync/internal_api/public/base/invalidation.cc b/sync/internal_api/public/base/invalidation.cc
index e6a64be8616c245309ea6138424cb65be7ac242f..14114fa8dedeb759eb88ae3470d3d380fda481ba 100644
--- a/sync/internal_api/public/base/invalidation.cc
+++ b/sync/internal_api/public/base/invalidation.cc
@@ -10,8 +10,8 @@
#include "base/rand_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
-#include "sync/notifier/ack_handler.h"
-#include "sync/notifier/invalidation_util.h"
+#include "sync/internal_api/public/base/ack_handler.h"
+#include "sync/internal_api/public/base/invalidation_util.h"
namespace syncer {
@@ -97,6 +97,16 @@ scoped_ptr<Invalidation> Invalidation::InitFromValue(
Invalidation::~Invalidation() {}
+Invalidation& Invalidation::operator=(const Invalidation& other) {
+ id_ = other.id_;
+ is_unknown_version_ = other.is_unknown_version_;
+ version_ = other.version_;
+ payload_ = other.payload_;
+ ack_handle_ = other.ack_handle_;
+ ack_handler_ = other.ack_handler_;
+ return *this;
+}
+
invalidation::ObjectId Invalidation::object_id() const {
return id_;
}
« no previous file with comments | « sync/internal_api/public/base/invalidation.h ('k') | sync/internal_api/public/base/invalidation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698