summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 22:01:19 +0000
committerpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 22:01:19 +0000
commite75fb7a76f9fa2af777afa67f777b23d503be29d (patch)
tree32636f35a36a8570cdca970e1c6340683036bac2 /components
parenta509ba9a847a208bab1e7e60a781818dbb351554 (diff)
downloadchromium_src-e75fb7a76f9fa2af777afa67f777b23d503be29d.zip
chromium_src-e75fb7a76f9fa2af777afa67f777b23d503be29d.tar.gz
chromium_src-e75fb7a76f9fa2af777afa67f777b23d503be29d.tar.bz2
Rename FakeAttachmentService to AttachmentServiceImpl
No functionality change whatsoever. BUG=356359 Review URL: https://codereview.chromium.org/279263003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r--components/sync_driver/fake_generic_change_processor.cc4
-rw-r--r--components/sync_driver/generic_change_processor_unittest.cc8
2 files changed, 6 insertions, 6 deletions
diff --git a/components/sync_driver/fake_generic_change_processor.cc b/components/sync_driver/fake_generic_change_processor.cc
index 5a85136..fc5a57d 100644
--- a/components/sync_driver/fake_generic_change_processor.cc
+++ b/components/sync_driver/fake_generic_change_processor.cc
@@ -6,7 +6,7 @@
#include "base/location.h"
#include "base/memory/weak_ptr.h"
-#include "sync/api/attachments/fake_attachment_service.h"
+#include "sync/api/attachments/attachment_service_impl.h"
#include "sync/api/syncable_service.h"
namespace browser_sync {
@@ -16,7 +16,7 @@ FakeGenericChangeProcessor::FakeGenericChangeProcessor()
base::WeakPtr<syncer::SyncableService>(),
base::WeakPtr<syncer::SyncMergeResult>(),
NULL,
- syncer::FakeAttachmentService::CreateForTest()),
+ syncer::AttachmentServiceImpl::CreateForTest()),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true) {}
diff --git a/components/sync_driver/generic_change_processor_unittest.cc b/components/sync_driver/generic_change_processor_unittest.cc
index c478652..073ffb0 100644
--- a/components/sync_driver/generic_change_processor_unittest.cc
+++ b/components/sync_driver/generic_change_processor_unittest.cc
@@ -9,7 +9,7 @@
#include "base/message_loop/message_loop.h"
#include "base/strings/stringprintf.h"
#include "components/sync_driver/data_type_error_handler_mock.h"
-#include "sync/api/attachments/fake_attachment_service.h"
+#include "sync/api/attachments/attachment_service_impl.h"
#include "sync/api/fake_syncable_service.h"
#include "sync/api/sync_change.h"
#include "sync/api/sync_merge_result.h"
@@ -32,7 +32,7 @@ namespace {
const char kTestData[] = "some data";
// A mock that keeps track of attachments passed to StoreAttachments.
-class MockAttachmentService : public syncer::FakeAttachmentService {
+class MockAttachmentService : public syncer::AttachmentServiceImpl {
public:
MockAttachmentService();
virtual ~MockAttachmentService();
@@ -45,7 +45,7 @@ class MockAttachmentService : public syncer::FakeAttachmentService {
};
MockAttachmentService::MockAttachmentService()
- : FakeAttachmentService(
+ : AttachmentServiceImpl(
scoped_ptr<syncer::AttachmentStore>(new syncer::FakeAttachmentStore(
base::MessageLoopProxy::current())),
scoped_ptr<syncer::AttachmentUploader>(
@@ -59,7 +59,7 @@ void MockAttachmentService::StoreAttachments(
const syncer::AttachmentList& attachments,
const StoreCallback& callback) {
attachment_lists_.push_back(attachments);
- FakeAttachmentService::StoreAttachments(attachments, callback);
+ AttachmentServiceImpl::StoreAttachments(attachments, callback);
}
std::vector<syncer::AttachmentList>* MockAttachmentService::attachment_lists() {