| 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 #include "chrome/browser/sync/glue/generic_change_processor.h" | 5 #include "chrome/browser/sync/glue/generic_change_processor.h" |
| 6 | 6 |
| 7 #include "base/tracked.h" | 7 #include "base/tracked.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/sync/api/syncable_service.h" | 9 #include "chrome/browser/sync/api/syncable_service.h" |
| 10 #include "chrome/browser/sync/api/sync_change.h" | 10 #include "chrome/browser/sync/api/sync_change.h" |
| 11 #include "chrome/browser/sync/api/sync_error.h" | 11 #include "chrome/browser/sync/api/sync_error.h" |
| 12 #include "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/internal_api/read_node.h" |
| 13 #include "chrome/browser/sync/internal_api/read_transaction.h" |
| 14 #include "chrome/browser/sync/internal_api/sync_manager.h" |
| 15 #include "chrome/browser/sync/internal_api/write_node.h" |
| 16 #include "chrome/browser/sync/internal_api/write_transaction.h" |
| 13 #include "chrome/browser/sync/unrecoverable_error_handler.h" | 17 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
| 14 | 18 |
| 15 namespace browser_sync { | 19 namespace browser_sync { |
| 16 | 20 |
| 17 GenericChangeProcessor::GenericChangeProcessor( | 21 GenericChangeProcessor::GenericChangeProcessor( |
| 18 SyncableService* local_service, | 22 SyncableService* local_service, |
| 19 UnrecoverableErrorHandler* error_handler, | 23 UnrecoverableErrorHandler* error_handler, |
| 20 sync_api::UserShare* user_share) | 24 sync_api::UserShare* user_share) |
| 21 : ChangeProcessor(error_handler), | 25 : ChangeProcessor(error_handler), |
| 22 local_service_(local_service), | 26 local_service_(local_service), |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 229 |
| 226 void GenericChangeProcessor::StartImpl(Profile* profile) {} | 230 void GenericChangeProcessor::StartImpl(Profile* profile) {} |
| 227 | 231 |
| 228 void GenericChangeProcessor::StopImpl() {} | 232 void GenericChangeProcessor::StopImpl() {} |
| 229 | 233 |
| 230 sync_api::UserShare* GenericChangeProcessor::share_handle() { | 234 sync_api::UserShare* GenericChangeProcessor::share_handle() { |
| 231 return user_share_; | 235 return user_share_; |
| 232 } | 236 } |
| 233 | 237 |
| 234 } // namespace browser_sync | 238 } // namespace browser_sync |
| OLD | NEW |