Index: sync/test/engine/syncer_command_test.h |
diff --git a/sync/test/engine/syncer_command_test.h b/sync/test/engine/syncer_command_test.h |
index 713e68cbf06c31eebfe64b98a4d307eebf5996b9..0fc70b30eab097b1c3239c0f3b6218a4b25106ea 100644 |
--- a/sync/test/engine/syncer_command_test.h |
+++ b/sync/test/engine/syncer_command_test.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/message_loop.h" |
#include "sync/engine/model_changing_syncer_command.h" |
+#include "sync/engine/throttled_data_type_tracker.h" |
#include "sync/engine/traffic_recorder.h" |
#include "sync/internal_api/public/engine/model_safe_worker.h" |
#include "sync/sessions/debug_info_getter.h" |
@@ -121,9 +122,11 @@ class SyncerCommandTestBase : public testing::Test, |
} |
void ResetContext() { |
+ throttled_data_type_tracker_.reset(new ThrottledDataTypeTracker(NULL)); |
context_.reset(new sessions::SyncSessionContext( |
mock_server_.get(), directory(), |
routing_info_, GetWorkers(), &extensions_activity_monitor_, |
+ throttled_data_type_tracker_.get(), |
std::vector<SyncEngineEventListener*>(), |
&mock_debug_info_getter_, |
&traffic_recorder_)); |
@@ -199,6 +202,7 @@ class SyncerCommandTestBase : public testing::Test, |
ModelSafeRoutingInfo routing_info_; |
NiceMock<MockDebugInfoGetter> mock_debug_info_getter_; |
FakeExtensionsActivityMonitor extensions_activity_monitor_; |
+ scoped_ptr<ThrottledDataTypeTracker> throttled_data_type_tracker_; |
TrafficRecorder traffic_recorder_; |
DISALLOW_COPY_AND_ASSIGN(SyncerCommandTestBase); |
}; |