| 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_COMPONENTS_FACTORY_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/weak_ptr.h" |
| 11 #include "chrome/browser/sync/glue/data_type_controller.h" | 12 #include "chrome/browser/sync/glue/data_type_controller.h" |
| 12 #include "chrome/browser/sync/internal_api/includes/unrecoverable_error_handler.
h" | 13 #include "chrome/browser/sync/internal_api/includes/unrecoverable_error_handler.
h" |
| 13 | 14 |
| 14 class PasswordStore; | 15 class PasswordStore; |
| 15 class ProfileSyncService; | 16 class ProfileSyncService; |
| 16 class SyncableService; | 17 class SyncableService; |
| 17 class WebDataService; | 18 class WebDataService; |
| 18 | 19 |
| 19 namespace browser_sync { | 20 namespace browser_sync { |
| 20 class AssociatorInterface; | 21 class AssociatorInterface; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 172 |
| 172 // Instantiates both a model associator and change processor for the app | 173 // Instantiates both a model associator and change processor for the app |
| 173 // notification data type. The pointers in the return struct are owned by the | 174 // notification data type. The pointers in the return struct are owned by the |
| 174 // caller. | 175 // caller. |
| 175 virtual SyncComponents CreateAppNotificationSyncComponents( | 176 virtual SyncComponents CreateAppNotificationSyncComponents( |
| 176 ProfileSyncService* profile_sync_service, | 177 ProfileSyncService* profile_sync_service, |
| 177 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 178 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 181 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| OLD | NEW |