diff options
author | chron@google.com <chron@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 21:38:53 +0000 |
---|---|---|
committer | chron@google.com <chron@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 21:38:53 +0000 |
commit | 7c00bba2896a786dbe28d67ada12acae322952d1 (patch) | |
tree | 1aeca87b24ae609a2a89bfa4cee0315228e3fcc9 /chrome/browser/sync/engine/syncer.cc | |
parent | ce958188cbc3c80ba4292b8b3a8831389e135cdb (diff) | |
download | chromium_src-7c00bba2896a786dbe28d67ada12acae322952d1.zip chromium_src-7c00bba2896a786dbe28d67ada12acae322952d1.tar.gz chromium_src-7c00bba2896a786dbe28d67ada12acae322952d1.tar.bz2 |
Move a debug string util to syncer proto util. Add better getupdates logging in debug builds.
Review URL: http://codereview.chromium.org/660346
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine/syncer.cc')
-rwxr-xr-x | chrome/browser/sync/engine/syncer.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/sync/engine/syncer.cc b/chrome/browser/sync/engine/syncer.cc index 59dbae4..d6656b5 100755 --- a/chrome/browser/sync/engine/syncer.cc +++ b/chrome/browser/sync/engine/syncer.cc @@ -4,7 +4,6 @@ #include "chrome/browser/sync/engine/syncer.h" -#include "base/format_macros.h" #include "base/message_loop.h" #include "base/time.h" #include "chrome/browser/chrome_thread.h" @@ -310,20 +309,4 @@ void ClearServerData(syncable::MutableEntry* entry) { entry->Put(SERVER_POSITION_IN_PARENT, 0); } -std::string SyncEntityDebugString(const sync_pb::SyncEntity& entry) { - return StringPrintf("id: %s, parent_id: %s, " - "version: %"PRId64"d, " - "mtime: %" PRId64"d (client: %" PRId64"d), " - "ctime: %" PRId64"d (client: %" PRId64"d), " - "name: %s, sync_timestamp: %" PRId64"d, " - "%s ", - entry.id_string().c_str(), - entry.parent_id_string().c_str(), - entry.version(), - entry.mtime(), ServerTimeToClientTime(entry.mtime()), - entry.ctime(), ServerTimeToClientTime(entry.ctime()), - entry.name().c_str(), entry.sync_timestamp(), - entry.deleted() ? "deleted, ":""); -} - } // namespace browser_sync |