| 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 SYNC_ENGINE_COMMIT_PROCESSOR_H_ | 5 #ifndef SYNC_ENGINE_COMMIT_PROCESSOR_H_ |
| 6 #define SYNC_ENGINE_COMMIT_PROCESSOR_H_ | 6 #define SYNC_ENGINE_COMMIT_PROCESSOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "sync/base/sync_export.h" | 14 #include "sync/base/sync_export.h" |
| 13 #include "sync/engine/commit.h" | 15 #include "sync/engine/commit.h" |
| 14 #include "sync/internal_api/public/base/model_type.h" | 16 #include "sync/internal_api/public/base/model_type.h" |
| 15 #include "sync/internal_api/public/engine/model_safe_worker.h" | 17 #include "sync/internal_api/public/engine/model_safe_worker.h" |
| 16 #include "sync/sessions/model_type_registry.h" | 18 #include "sync/sessions/model_type_registry.h" |
| 17 | 19 |
| 18 namespace syncer { | 20 namespace syncer { |
| 19 | 21 |
| 20 namespace syncable { | 22 namespace syncable { |
| 21 class Directory; | 23 class Directory; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 private: | 52 private: |
| 51 // A map of 'commit contributors', one for each enabled type. | 53 // A map of 'commit contributors', one for each enabled type. |
| 52 CommitContributorMap* commit_contributor_map_; | 54 CommitContributorMap* commit_contributor_map_; |
| 53 | 55 |
| 54 DISALLOW_COPY_AND_ASSIGN(CommitProcessor); | 56 DISALLOW_COPY_AND_ASSIGN(CommitProcessor); |
| 55 }; | 57 }; |
| 56 | 58 |
| 57 } // namespace syncer | 59 } // namespace syncer |
| 58 | 60 |
| 59 #endif // SYNC_ENGINE_COMMIT_PROCESSOR_H_ | 61 #endif // SYNC_ENGINE_COMMIT_PROCESSOR_H_ |
| OLD | NEW |