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

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_mock.cc

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile and chrome/ usage Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" 5 #include "chrome/browser/sync/profile_sync_components_factory_mock.h"
6 #include "components/sync_driver/change_processor.h" 6 #include "components/sync_driver/change_processor.h"
7 #include "components/sync_driver/model_associator.h" 7 #include "components/sync_driver/model_associator.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 #include "sync/api/attachments/attachment_service_impl.h" 9 #include "sync/api/attachments/attachment_service_impl.h"
10 #include "sync/internal_api/public/attachments/fake_attachment_store.h" 10 #include "sync/internal_api/public/attachments/fake_attachment_store.h"
11 11
12 using browser_sync::AssociatorInterface; 12 using sync_driver::AssociatorInterface;
13 using browser_sync::ChangeProcessor; 13 using sync_driver::ChangeProcessor;
14 using testing::_; 14 using testing::_;
15 using testing::InvokeWithoutArgs; 15 using testing::InvokeWithoutArgs;
16 16
17 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock() {} 17 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock() {}
18 18
19 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock( 19 ProfileSyncComponentsFactoryMock::ProfileSyncComponentsFactoryMock(
20 AssociatorInterface* model_associator, ChangeProcessor* change_processor) 20 AssociatorInterface* model_associator, ChangeProcessor* change_processor)
21 : model_associator_(model_associator), 21 : model_associator_(model_associator),
22 change_processor_(change_processor) { 22 change_processor_(change_processor) {
23 ON_CALL(*this, CreateBookmarkSyncComponents(_, _)). 23 ON_CALL(*this, CreateBookmarkSyncComponents(_, _)).
(...skipping 10 matching lines...) Expand all
34 const syncer::UserShare& user_share, 34 const syncer::UserShare& user_share,
35 syncer::AttachmentService::Delegate* delegate) { 35 syncer::AttachmentService::Delegate* delegate) {
36 return syncer::AttachmentServiceImpl::CreateForTest(); 36 return syncer::AttachmentServiceImpl::CreateForTest();
37 } 37 }
38 38
39 ProfileSyncComponentsFactory::SyncComponents 39 ProfileSyncComponentsFactory::SyncComponents
40 ProfileSyncComponentsFactoryMock::MakeSyncComponents() { 40 ProfileSyncComponentsFactoryMock::MakeSyncComponents() {
41 return SyncComponents(model_associator_.release(), 41 return SyncComponents(model_associator_.release(),
42 change_processor_.release()); 42 change_processor_.release());
43 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698