| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
| 6 #define SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "sync/api/sync_data.h" | 11 #include "components/sync/api/sync_data.h" |
| 12 #include "sync/api/sync_error.h" | 12 #include "components/sync/api/sync_error.h" |
| 13 #include "sync/base/sync_export.h" | 13 #include "components/sync/base/model_type.h" |
| 14 #include "sync/internal_api/public/base/model_type.h" | 14 #include "components/sync/base/sync_export.h" |
| 15 | 15 |
| 16 namespace tracked_objects { | 16 namespace tracked_objects { |
| 17 class Location; | 17 class Location; |
| 18 } // namespace tracked_objects | 18 } // namespace tracked_objects |
| 19 | 19 |
| 20 namespace syncer { | 20 namespace syncer { |
| 21 | 21 |
| 22 class SyncChange; | 22 class SyncChange; |
| 23 | 23 |
| 24 typedef std::vector<SyncChange> SyncChangeList; | 24 typedef std::vector<SyncChange> SyncChangeList; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // TODO(zea): consider pulling the refresh logic into a separate method | 73 // TODO(zea): consider pulling the refresh logic into a separate method |
| 74 // unrelated to datatype implementations. | 74 // unrelated to datatype implementations. |
| 75 virtual syncer::SyncError UpdateDataTypeContext( | 75 virtual syncer::SyncError UpdateDataTypeContext( |
| 76 ModelType type, | 76 ModelType type, |
| 77 ContextRefreshStatus refresh_status, | 77 ContextRefreshStatus refresh_status, |
| 78 const std::string& context); | 78 const std::string& context); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace syncer | 81 } // namespace syncer |
| 82 | 82 |
| 83 #endif // SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 83 #endif // COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
| OLD | NEW |