Index: chrome/browser/sync/engine/syncer_unittest.cc |
=================================================================== |
--- chrome/browser/sync/engine/syncer_unittest.cc (revision 72686) |
+++ chrome/browser/sync/engine/syncer_unittest.cc (working copy) |
@@ -5,8 +5,6 @@ |
// Syncer unit tests. Unfortunately a lot of these tests |
// are outdated and need to be reworked and updated. |
-#include <algorithm> |
-#include <limits> |
#include <list> |
#include <map> |
#include <set> |
@@ -27,7 +25,6 @@ |
#include "chrome/browser/sync/engine/syncproto.h" |
#include "chrome/browser/sync/protocol/sync.pb.h" |
#include "chrome/browser/sync/syncable/directory_manager.h" |
-#include "chrome/browser/sync/syncable/model_type.h" |
#include "chrome/browser/sync/syncable/syncable.h" |
#include "chrome/common/deprecated/event_sys-inl.h" |
#include "chrome/test/sync/engine/mock_connection_manager.h" |
@@ -153,11 +150,8 @@ |
std::vector<ModelSafeWorker*> workers; |
GetModelSafeRoutingInfo(&info); |
GetWorkers(&workers); |
- sessions::TypePayloadMap types = sessions::RoutingInfoToTypePayloadMap( |
- info, std::string()); |
- return new SyncSession(context_.get(), this, |
- sessions::SyncSourceInfo(sync_pb::GetUpdatesCallerInfo::UNKNOWN, types), |
- info, workers); |
+ return new SyncSession(context_.get(), this, sessions::SyncSourceInfo(), |
+ info, workers); |
} |
bool SyncShareAsDelegate() { |