Index: components/sync/api/entity_change.cc |
diff --git a/components/sync/api/entity_change.cc b/components/sync/api/entity_change.cc |
deleted file mode 100644 |
index 936cefa462d35b10789b58e280c8c063748472cf..0000000000000000000000000000000000000000 |
--- a/components/sync/api/entity_change.cc |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "components/sync/api/entity_change.h" |
- |
-namespace syncer { |
- |
-// static |
-EntityChange EntityChange::CreateAdd(const std::string& storage_key, |
- EntityDataPtr data) { |
- return EntityChange(storage_key, ACTION_ADD, data); |
-} |
- |
-// static |
-EntityChange EntityChange::CreateUpdate(const std::string& storage_key, |
- EntityDataPtr data) { |
- return EntityChange(storage_key, ACTION_UPDATE, data); |
-} |
- |
-// static |
-EntityChange EntityChange::CreateDelete(const std::string& storage_key) { |
- return EntityChange(storage_key, ACTION_DELETE, EntityDataPtr()); |
-} |
- |
-EntityChange::EntityChange(const std::string& storage_key, |
- ChangeType type, |
- EntityDataPtr data) |
- : storage_key_(storage_key), type_(type), data_(data) {} |
- |
-EntityChange::EntityChange(const EntityChange& other) = default; |
- |
-EntityChange::~EntityChange() {} |
- |
-} // namespace syncer |