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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 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 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/sync/glue/data_type_controller.h" 10 #include "chrome/browser/sync/glue/data_type_controller.h"
(...skipping 17 matching lines...) Expand all
28 28
29 MOCK_METHOD1(RegisterDataTypes, void(ProfileSyncService*)); 29 MOCK_METHOD1(RegisterDataTypes, void(ProfileSyncService*));
30 MOCK_METHOD2(CreateDataTypeManager, 30 MOCK_METHOD2(CreateDataTypeManager,
31 browser_sync::DataTypeManager*( 31 browser_sync::DataTypeManager*(
32 browser_sync::SyncBackendHost*, 32 browser_sync::SyncBackendHost*,
33 const browser_sync::DataTypeController::TypeMap*)); 33 const browser_sync::DataTypeController::TypeMap*));
34 MOCK_METHOD3(CreateGenericChangeProcessor, 34 MOCK_METHOD3(CreateGenericChangeProcessor,
35 browser_sync::GenericChangeProcessor*( 35 browser_sync::GenericChangeProcessor*(
36 ProfileSyncService* profile_sync_service, 36 ProfileSyncService* profile_sync_service,
37 browser_sync::DataTypeErrorHandler* error_handler, 37 browser_sync::DataTypeErrorHandler* error_handler,
38 const base::WeakPtr<SyncableService>& local_service)); 38 const base::WeakPtr<csync::SyncableService>& local_service));
39 MOCK_METHOD0(CreateSharedChangeProcessor, 39 MOCK_METHOD0(CreateSharedChangeProcessor,
40 browser_sync::SharedChangeProcessor*()); 40 browser_sync::SharedChangeProcessor*());
41 MOCK_METHOD1(GetSyncableServiceForType, 41 MOCK_METHOD1(GetSyncableServiceForType,
42 base::WeakPtr<SyncableService>(syncable::ModelType)); 42 base::WeakPtr<csync::SyncableService>(syncable::ModelType));
43 MOCK_METHOD2(CreateBookmarkSyncComponents, 43 MOCK_METHOD2(CreateBookmarkSyncComponents,
44 SyncComponents(ProfileSyncService* profile_sync_service, 44 SyncComponents(ProfileSyncService* profile_sync_service,
45 browser_sync::DataTypeErrorHandler* error_handler)); 45 browser_sync::DataTypeErrorHandler* error_handler));
46 MOCK_METHOD3(CreatePasswordSyncComponents, 46 MOCK_METHOD3(CreatePasswordSyncComponents,
47 SyncComponents( 47 SyncComponents(
48 ProfileSyncService* profile_sync_service, 48 ProfileSyncService* profile_sync_service,
49 PasswordStore* password_store, 49 PasswordStore* password_store,
50 browser_sync::DataTypeErrorHandler* error_handler)); 50 browser_sync::DataTypeErrorHandler* error_handler));
51 MOCK_METHOD2(CreateSessionSyncComponents, 51 MOCK_METHOD2(CreateSessionSyncComponents,
52 SyncComponents(ProfileSyncService* profile_sync_service, 52 SyncComponents(ProfileSyncService* profile_sync_service,
(...skipping 10 matching lines...) Expand all
63 browser_sync::DataTypeErrorHandler* error_handler)); 63 browser_sync::DataTypeErrorHandler* error_handler));
64 64
65 private: 65 private:
66 SyncComponents MakeSyncComponents(); 66 SyncComponents MakeSyncComponents();
67 67
68 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; 68 scoped_ptr<browser_sync::AssociatorInterface> model_associator_;
69 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; 69 scoped_ptr<browser_sync::ChangeProcessor> change_processor_;
70 }; 70 };
71 71
72 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 72 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory_impl.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698