| Index: chrome/browser/sync/glue/session_model_associator.cc
|
| diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc
|
| index 67a017daa6ae2243dfe473bf70e2fe5c4eeecbe7..2e0a6057e702a05476a351cc0c4b9aabe370bfe0 100644
|
| --- a/chrome/browser/sync/glue/session_model_associator.cc
|
| +++ b/chrome/browser/sync/glue/session_model_associator.cc
|
| @@ -30,7 +30,7 @@
|
| #include "content/public/browser/notification_service.h"
|
| #include "sync/api/sync_error.h"
|
| #include "sync/internal_api/public/base/model_type.h"
|
| -#include "sync/internal_api/public/base/model_type_payload_map.h"
|
| +#include "sync/internal_api/public/base/model_type_state_map.h"
|
| #include "sync/internal_api/public/read_node.h"
|
| #include "sync/internal_api/public/read_transaction.h"
|
| #include "sync/internal_api/public/write_node.h"
|
| @@ -1410,12 +1410,12 @@ void SessionModelAssociator::TabNodePool::FreeTabNode(int64 sync_id) {
|
| void SessionModelAssociator::AttemptSessionsDataRefresh() const {
|
| DVLOG(1) << "Triggering sync refresh for sessions datatype.";
|
| const syncer::ModelType type = syncer::SESSIONS;
|
| - syncer::ModelTypePayloadMap payload_map;
|
| - payload_map[type] = "";
|
| + syncer::ModelTypeStateMap state_map;
|
| + state_map.insert(std::make_pair(type, syncer::InvalidationState()));
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_SYNC_REFRESH_LOCAL,
|
| content::Source<Profile>(profile_),
|
| - content::Details<const syncer::ModelTypePayloadMap>(&payload_map));
|
| + content::Details<const syncer::ModelTypeStateMap>(&state_map));
|
| }
|
|
|
| bool SessionModelAssociator::GetLocalSession(
|
|
|