Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Unified Diff: sync/test/engine/syncer_command_test.h

Issue 10454105: sync: Refactor per-datatype throttling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up and rebased Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« sync/sync.gyp ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bfa567f21d44039199e72319075caac390c3d2e5..04c707c598aa809000427ea7ad33b1f221dc10d2 100644
--- a/sync/test/engine/syncer_command_test.h
+++ b/sync/test/engine/syncer_command_test.h
@@ -13,6 +13,7 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
+#include "sync/engine/throttled_data_type_tracker.h"
#include "sync/engine/model_changing_syncer_command.h"
#include "sync/engine/model_safe_worker.h"
#include "sync/engine/traffic_recorder.h"
@@ -126,6 +127,7 @@ class SyncerCommandTestBase : public testing::Test,
context_.reset(new sessions::SyncSessionContext(
mock_server_.get(), directory(),
registrar(), &extensions_activity_monitor_,
+ &throttled_data_type_tracker_,
std::vector<SyncEngineEventListener*>(),
&mock_debug_info_getter_,
&traffic_recorder_));
@@ -201,6 +203,7 @@ class SyncerCommandTestBase : public testing::Test,
ModelSafeRoutingInfo routing_info_;
NiceMock<MockDebugInfoGetter> mock_debug_info_getter_;
FakeExtensionsActivityMonitor extensions_activity_monitor_;
+ ThrottledDataTypeTracker throttled_data_type_tracker_;
TrafficRecorder traffic_recorder_;
DISALLOW_COPY_AND_ASSIGN(SyncerCommandTestBase);
};
« sync/sync.gyp ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698