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..1010299170cdc3ba8e7f810d35c70237f5077ce5 100644 |
--- a/chrome/browser/sync/syncable/model_type.h |
+++ b/chrome/browser/sync/syncable/model_type.h |
@@ -121,8 +121,9 @@ int GetExtensionFieldNumberFromModelType(ModelType model_type); |
// TODO(sync): The functions below badly need some cleanup. |
-// Returns a string that represents the name of |model_type|. |
-std::string ModelTypeToString(ModelType model_type); |
+// Returns a pointer to a string with application lifetime that represents |
+// the name of |model_type|. |
+const char* ModelTypeToString(ModelType model_type); |
// Handles all model types, and not just real ones. |
// |