| Index: sync/test/engine/injectable_sync_context_proxy.cc
|
| diff --git a/sync/test/engine/injectable_sync_context_proxy.cc b/sync/test/engine/injectable_sync_context_proxy.cc
|
| index e194f26e637e169742051d6021bed5b07c9d5645..eb14c2ffc427cd27fed4584521df352024f2c565 100644
|
| --- a/sync/test/engine/injectable_sync_context_proxy.cc
|
| +++ b/sync/test/engine/injectable_sync_context_proxy.cc
|
| @@ -19,9 +19,7 @@ InjectableSyncContextProxy::~InjectableSyncContextProxy() {
|
|
|
| void InjectableSyncContextProxy::ConnectTypeToSync(
|
| syncer::ModelType type,
|
| - const DataTypeState& data_type_state,
|
| - const UpdateResponseDataList& response_list,
|
| - const base::WeakPtr<ModelTypeProcessor>& type_processor) {
|
| + scoped_ptr<ActivationContext> activation_context) {
|
| // This class is allowed to participate in only one connection.
|
| DCHECK(!is_worker_connected_);
|
| is_worker_connected_ = true;
|
| @@ -30,7 +28,7 @@ void InjectableSyncContextProxy::ConnectTypeToSync(
|
| // an unsafe pointer to it. This is why we can only connect once.
|
| scoped_ptr<CommitQueue> queue(queue_);
|
|
|
| - type_processor->OnConnect(queue.Pass());
|
| + activation_context->type_processor->OnConnect(queue.Pass());
|
| }
|
|
|
| void InjectableSyncContextProxy::Disconnect(syncer::ModelType type) {
|
|
|