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

Unified Diff: chrome/browser/sync/syncable/model_type.h

Issue 8573011: Event tracing for sync events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/sync/syncable/model_type.h
diff --git a/chrome/browser/sync/syncable/model_type.h b/chrome/browser/sync/syncable/model_type.h
index bfd9879c7b20c50b9762c7e72830e916b6277fb2..3ae1586717440c57618caf2e21938e6565de6d12 100644
--- a/chrome/browser/sync/syncable/model_type.h
+++ b/chrome/browser/sync/syncable/model_type.h
@@ -121,6 +121,10 @@ int GetExtensionFieldNumberFromModelType(ModelType model_type);
// TODO(sync): The functions below badly need some cleanup.
+// Returns a pointer to a string with application lifetime that represents
+// the name of |model_type|.
+const char* ModelTypeToCharPtr(ModelType model_type);
+
// Returns a string that represents the name of |model_type|.
std::string ModelTypeToString(ModelType model_type);

Powered by Google App Engine
This is Rietveld 408576698