summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
Diffstat (limited to 'sync')
-rw-r--r--sync/api/attachments/fake_attachment_service.cc4
-rw-r--r--sync/sync_api.gypi1
2 files changed, 1 insertions, 4 deletions
diff --git a/sync/api/attachments/fake_attachment_service.cc b/sync/api/attachments/fake_attachment_service.cc
index 8e9e867..b9eb88e 100644
--- a/sync/api/attachments/fake_attachment_service.cc
+++ b/sync/api/attachments/fake_attachment_service.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
-#include "base/test/test_simple_task_runner.h"
#include "sync/api/attachments/attachment.h"
#include "sync/api/attachments/fake_attachment_store.h"
@@ -26,8 +25,7 @@ FakeAttachmentService::~FakeAttachmentService() {
// Static.
scoped_ptr<syncer::AttachmentService> FakeAttachmentService::CreateForTest() {
scoped_ptr<syncer::AttachmentStore> attachment_store(
- new syncer::FakeAttachmentStore(scoped_refptr<base::SequencedTaskRunner>(
- new base::TestSimpleTaskRunner)));
+ new syncer::FakeAttachmentStore(base::MessageLoopProxy::current()));
scoped_ptr<syncer::AttachmentService> attachment_service(
new syncer::FakeAttachmentService(attachment_store.Pass()));
return attachment_service.Pass();
diff --git a/sync/sync_api.gypi b/sync/sync_api.gypi
index 8e5b911..8cee5bd 100644
--- a/sync/sync_api.gypi
+++ b/sync/sync_api.gypi
@@ -11,7 +11,6 @@
],
'dependencies': [
'../base/base.gyp:base',
- '../base/base.gyp:test_support_base',
],
'sources': [
'api/attachments/attachment.cc',