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

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

Issue 340055: String cleanup in sync code (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/chrome.gyp ('k') | chrome/test/sync/engine/test_directory_setter_upper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/engine/mock_server_connection.cc
===================================================================
--- chrome/test/sync/engine/mock_server_connection.cc (revision 30948)
+++ chrome/test/sync/engine/mock_server_connection.cc (working copy)
@@ -381,8 +381,7 @@
for (int i = 0; i < xattr_count; i++) {
sync_pb::ExtendedAttributes_ExtendedAttribute* extended_attribute =
mutable_extended_attributes->add_extendedattribute();
- extended_attribute->set_key(static_cast<const string&>
- (browser_sync::ToUTF8(xattr_key[i])));
+ extended_attribute->set_key(xattr_key[i]);
SyncerProtoUtil::CopyBlobIntoProtoBytes(xattr_value[i],
extended_attribute->mutable_value());
}
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/sync/engine/test_directory_setter_upper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698