| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "components/sync/base/model_type.h" | 14 #include "components/sync/base/model_type.h" |
| 15 #include "components/sync/engine/model_safe_worker.h" | 15 #include "components/sync/engine/model_safe_worker.h" |
| 16 #include "components/sync/engine_impl/commit.h" | 16 #include "components/sync/engine_impl/commit.h" |
| 17 #include "components/sync/sessions_impl/model_type_registry.h" | 17 #include "components/sync/engine_impl/model_type_registry.h" |
| 18 | 18 |
| 19 namespace syncer { | 19 namespace syncer { |
| 20 | 20 |
| 21 namespace syncable { | 21 namespace syncable { |
| 22 class Directory; | 22 class Directory; |
| 23 } // namespace syncable | 23 } // namespace syncable |
| 24 | 24 |
| 25 class CommitContributor; | 25 class CommitContributor; |
| 26 class CommitContribution; | 26 class CommitContribution; |
| 27 | 27 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 55 private: | 55 private: |
| 56 // A map of 'commit contributors', one for each enabled type. | 56 // A map of 'commit contributors', one for each enabled type. |
| 57 CommitContributorMap* commit_contributor_map_; | 57 CommitContributorMap* commit_contributor_map_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(CommitProcessor); | 59 DISALLOW_COPY_AND_ASSIGN(CommitProcessor); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace syncer | 62 } // namespace syncer |
| 63 | 63 |
| 64 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ | 64 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_PROCESSOR_H_ |
| OLD | NEW |