| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FACTORY_MOCK_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_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/profile_sync_service.h" | 10 #include "chrome/browser/sync/profile_sync_service.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 SyncComponents(ProfileSyncService* profile_sync_service, | 64 SyncComponents(ProfileSyncService* profile_sync_service, |
| 65 browser_sync::UnrecoverableErrorHandler* error_handler)); | 65 browser_sync::UnrecoverableErrorHandler* error_handler)); |
| 66 MOCK_METHOD2(CreateThemeSyncComponents, | 66 MOCK_METHOD2(CreateThemeSyncComponents, |
| 67 SyncComponents(ProfileSyncService* profile_sync_service, | 67 SyncComponents(ProfileSyncService* profile_sync_service, |
| 68 browser_sync::UnrecoverableErrorHandler* error_handler)); | 68 browser_sync::UnrecoverableErrorHandler* error_handler)); |
| 69 MOCK_METHOD3(CreateTypedUrlSyncComponents, | 69 MOCK_METHOD3(CreateTypedUrlSyncComponents, |
| 70 SyncComponents( | 70 SyncComponents( |
| 71 ProfileSyncService* profile_sync_service, | 71 ProfileSyncService* profile_sync_service, |
| 72 history::HistoryBackend* history_backend, | 72 history::HistoryBackend* history_backend, |
| 73 browser_sync::UnrecoverableErrorHandler* error_handler)); | 73 browser_sync::UnrecoverableErrorHandler* error_handler)); |
| 74 MOCK_METHOD2(CreateSearchEngineSyncComponents, |
| 75 SyncComponents( |
| 76 ProfileSyncService* profile_sync_service, |
| 77 browser_sync::UnrecoverableErrorHandler* error_handler)); |
| 74 | 78 |
| 75 private: | 79 private: |
| 76 SyncComponents MakeBookmarkSyncComponents(); | 80 SyncComponents MakeBookmarkSyncComponents(); |
| 77 | 81 |
| 78 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_; | 82 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_; |
| 79 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_; | 83 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_; |
| 80 }; | 84 }; |
| 81 | 85 |
| 82 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ | 86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ |
| OLD | NEW |