| Index: sync/internal_api/public/engine/model_safe_worker.cc
|
| diff --git a/sync/internal_api/public/engine/model_safe_worker.cc b/sync/internal_api/public/engine/model_safe_worker.cc
|
| index 2212a4176d140565f0aeca00ebe0c0e8785233e7..d7bf906ef9f007feec43925789b22a3367a3e15c 100644
|
| --- a/sync/internal_api/public/engine/model_safe_worker.cc
|
| +++ b/sync/internal_api/public/engine/model_safe_worker.cc
|
| @@ -29,15 +29,15 @@ std::string ModelSafeRoutingInfoToString(
|
| return json;
|
| }
|
|
|
| -ModelTypeStateMap ModelSafeRoutingInfoToStateMap(
|
| +ModelTypeInvalidationMap ModelSafeRoutingInfoToInvalidationMap(
|
| const ModelSafeRoutingInfo& routes,
|
| const std::string& payload) {
|
| - ModelTypeStateMap type_state_map;
|
| + ModelTypeInvalidationMap invalidation_map;
|
| for (ModelSafeRoutingInfo::const_iterator i = routes.begin();
|
| i != routes.end(); ++i) {
|
| - type_state_map[i->first].payload = payload;
|
| + invalidation_map[i->first].payload = payload;
|
| }
|
| - return type_state_map;
|
| + return invalidation_map;
|
| }
|
|
|
| ModelTypeSet GetRoutingInfoTypes(const ModelSafeRoutingInfo& routing_info) {
|
|
|