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

Unified Diff: chrome/browser/sync/engine/syncer.cc

Issue 429003: Final part of PathString cleanup. (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/browser/sync/engine/syncapi.cc ('k') | chrome/browser/sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer.cc
===================================================================
--- chrome/browser/sync/engine/syncer.cc (revision 32749)
+++ chrome/browser/sync/engine/syncer.cc (working copy)
@@ -302,7 +302,7 @@
}
void ClearServerData(syncable::MutableEntry* entry) {
- entry->Put(SERVER_NON_UNIQUE_NAME, PSTR(""));
+ entry->Put(SERVER_NON_UNIQUE_NAME, "");
entry->Put(SERVER_PARENT_ID, syncable::kNullId);
entry->Put(SERVER_MTIME, 0);
entry->Put(SERVER_CTIME, 0);
@@ -311,7 +311,7 @@
entry->Put(SERVER_IS_DEL, false);
entry->Put(SERVER_IS_BOOKMARK_OBJECT, false);
entry->Put(IS_UNAPPLIED_UPDATE, false);
- entry->Put(SERVER_BOOKMARK_URL, PSTR(""));
+ entry->Put(SERVER_BOOKMARK_URL, "");
entry->Put(SERVER_BOOKMARK_FAVICON, Blob());
entry->Put(SERVER_POSITION_IN_PARENT, 0);
}
« no previous file with comments | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/browser/sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698