| OLD | NEW |
| 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_GLUE_SHARED_CHANGE_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_ |
| 6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "chrome/browser/sync/api/sync_change_processor.h" | 14 #include "chrome/browser/sync/api/sync_change_processor.h" |
| 15 #include "chrome/browser/sync/api/sync_error.h" | 15 #include "chrome/browser/sync/api/sync_error.h" |
| 16 #include "chrome/browser/sync/engine/model_safe_worker.h" | |
| 17 #include "chrome/browser/sync/glue/data_type_error_handler.h" | 16 #include "chrome/browser/sync/glue/data_type_error_handler.h" |
| 17 #include "sync/engine/model_safe_worker.h" |
| 18 | 18 |
| 19 class ProfileSyncComponentsFactory; | 19 class ProfileSyncComponentsFactory; |
| 20 class ProfileSyncService; | 20 class ProfileSyncService; |
| 21 class SyncData; | 21 class SyncData; |
| 22 class SyncableService; | 22 class SyncableService; |
| 23 | 23 |
| 24 typedef std::vector<SyncData> SyncDataList; | 24 typedef std::vector<SyncData> SyncDataList; |
| 25 | 25 |
| 26 namespace browser_sync { | 26 namespace browser_sync { |
| 27 | 27 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 // Used only on |backend_loop_|. | 112 // Used only on |backend_loop_|. |
| 113 GenericChangeProcessor* generic_change_processor_; | 113 GenericChangeProcessor* generic_change_processor_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); | 115 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessor); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace browser_sync | 118 } // namespace browser_sync |
| 119 | 119 |
| 120 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_ | 120 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_ |
| OLD | NEW |