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/engine/syncapi.h" |
13 #include "chrome/browser/sync/syncable/nigori_util.h" | 13 #include "chrome/browser/sync/syncable/nigori_util.h" |
| 14 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
14 | 15 |
15 namespace browser_sync { | 16 namespace browser_sync { |
16 | 17 |
17 GenericChangeProcessor::GenericChangeProcessor( | 18 GenericChangeProcessor::GenericChangeProcessor( |
18 SyncableService* local_service, | 19 SyncableService* local_service, |
19 UnrecoverableErrorHandler* error_handler, | 20 UnrecoverableErrorHandler* error_handler, |
20 sync_api::UserShare* user_share) | 21 sync_api::UserShare* user_share) |
21 : ChangeProcessor(error_handler), | 22 : ChangeProcessor(error_handler), |
22 local_service_(local_service), | 23 local_service_(local_service), |
23 user_share_(user_share) { | 24 user_share_(user_share) { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 226 |
226 void GenericChangeProcessor::StartImpl(Profile* profile) {} | 227 void GenericChangeProcessor::StartImpl(Profile* profile) {} |
227 | 228 |
228 void GenericChangeProcessor::StopImpl() {} | 229 void GenericChangeProcessor::StopImpl() {} |
229 | 230 |
230 sync_api::UserShare* GenericChangeProcessor::share_handle() { | 231 sync_api::UserShare* GenericChangeProcessor::share_handle() { |
231 return user_share_; | 232 return user_share_; |
232 } | 233 } |
233 | 234 |
234 } // namespace browser_sync | 235 } // namespace browser_sync |
OLD | NEW |