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

Unified Diff: chrome/browser/sync/profile_sync_service_harness.cc

Issue 8573011: Event tracing for sync events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line length issues Created 9 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/glue/data_type_manager_impl.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_harness.cc
diff --git a/chrome/browser/sync/profile_sync_service_harness.cc b/chrome/browser/sync/profile_sync_service_harness.cc
index e5a6fd69fa6c02e69c7207e8e9e30e91bf8910d5..6895527dc5dea68c5891de00171576ff14f1f00d 100644
--- a/chrome/browser/sync/profile_sync_service_harness.cc
+++ b/chrome/browser/sync/profile_sync_service_harness.cc
@@ -902,7 +902,8 @@ const SyncSessionSnapshot*
bool ProfileSyncServiceHarness::EnableSyncForDatatype(
syncable::ModelType datatype) {
VLOG(1) << GetClientInfoString(
- "EnableSyncForDatatype(" + syncable::ModelTypeToString(datatype) + ")");
+ "EnableSyncForDatatype("
+ + std::string(syncable::ModelTypeToString(datatype)) + ")");
syncable::ModelTypeSet synced_datatypes;
if (wait_state_ == SYNC_DISABLED) {
@@ -940,7 +941,8 @@ bool ProfileSyncServiceHarness::EnableSyncForDatatype(
bool ProfileSyncServiceHarness::DisableSyncForDatatype(
syncable::ModelType datatype) {
VLOG(1) << GetClientInfoString(
- "DisableSyncForDatatype(" + syncable::ModelTypeToString(datatype) + ")");
+ "DisableSyncForDatatype("
+ + std::string(syncable::ModelTypeToString(datatype)) + ")");
syncable::ModelTypeSet synced_datatypes;
if (service() == NULL) {
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698