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

Unified Diff: chrome/test/sync/engine/mock_connection_manager.cc

Issue 2830027: Remove extended attributes. The lame broken codepath in the DBS was causing (Closed)
Patch Set: Synced with TOT, resolved conflicts. Created 10 years, 6 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 | « chrome/test/sync/engine/mock_connection_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/engine/mock_connection_manager.cc
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc
index 5e40d5dfbc6b7754fc95fabca2b0e8340168c7f7..dc1d37349cf7c44237436a0af042565bc997dce9 100644
--- a/chrome/test/sync/engine/mock_connection_manager.cc
+++ b/chrome/test/sync/engine/mock_connection_manager.cc
@@ -422,19 +422,6 @@ SyncEntity* MockConnectionManager::AddUpdateBookmark(
name, version, sync_ts);
}
-void MockConnectionManager::AddUpdateExtendedAttributes(SyncEntity* ent,
- string* xattr_key, syncable::Blob* xattr_value, int xattr_count) {
- sync_pb::ExtendedAttributes* mutable_extended_attributes =
- ent->mutable_extended_attributes();
- for (int i = 0; i < xattr_count; i++) {
- sync_pb::ExtendedAttributes_ExtendedAttribute* extended_attribute =
- mutable_extended_attributes->add_extendedattribute();
- extended_attribute->set_key(xattr_key[i]);
- SyncerProtoUtil::CopyBlobIntoProtoBytes(xattr_value[i],
- extended_attribute->mutable_value());
- }
-}
-
SyncEntity* MockConnectionManager::GetMutableLastUpdate() {
DCHECK(updates_.entries_size() > 0);
return updates_.mutable_entries()->Mutable(updates_.entries_size() - 1);
« no previous file with comments | « chrome/test/sync/engine/mock_connection_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698