Chromium Code Reviews| Index: components/sync/base/model_type.h |
| diff --git a/components/sync/base/model_type.h b/components/sync/base/model_type.h |
| index eb8365323f7beb9a8e4f57afde54870ea2e6b010..05bfca893cf3a60cd619d6b75b2d5fe94df34e13 100644 |
| --- a/components/sync/base/model_type.h |
| +++ b/components/sync/base/model_type.h |
| @@ -286,8 +286,7 @@ int ModelTypeToHistogramInt(ModelType model_type); |
| // Handles all model types, and not just real ones. |
| // |
|
vabr (Chromium)
2017/06/01 19:53:33
nit: The empty comment line seems unnecessary. It
jdoerrie
2017/06/02 09:39:56
Done.
|
| -// Caller takes ownership of returned value. |
| -base::Value* ModelTypeToValue(ModelType model_type); |
| +std::unique_ptr<base::Value> ModelTypeToValue(ModelType model_type); |
| // Converts a Value into a ModelType - complement to ModelTypeToValue(). |
| ModelType ModelTypeFromValue(const base::Value& value); |