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 SYNC_ENGINE_COMMIT_H_ | 5 #ifndef SYNC_ENGINE_COMMIT_H_ |
6 #define SYNC_ENGINE_COMMIT_H_ | 6 #define SYNC_ENGINE_COMMIT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "sync/base/sync_export.h" | 15 #include "sync/base/sync_export.h" |
14 #include "sync/engine/commit_contribution.h" | 16 #include "sync/engine/commit_contribution.h" |
15 #include "sync/internal_api/public/base/model_type.h" | 17 #include "sync/internal_api/public/base/model_type.h" |
16 #include "sync/internal_api/public/engine/model_safe_worker.h" | 18 #include "sync/internal_api/public/engine/model_safe_worker.h" |
17 #include "sync/internal_api/public/util/syncer_error.h" | 19 #include "sync/internal_api/public/util/syncer_error.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 77 |
76 // Debug only flag used to indicate if it's safe to destruct the object. | 78 // Debug only flag used to indicate if it's safe to destruct the object. |
77 bool cleaned_up_; | 79 bool cleaned_up_; |
78 | 80 |
79 DISALLOW_COPY_AND_ASSIGN(Commit); | 81 DISALLOW_COPY_AND_ASSIGN(Commit); |
80 }; | 82 }; |
81 | 83 |
82 } // namespace syncer | 84 } // namespace syncer |
83 | 85 |
84 #endif // SYNC_ENGINE_COMMIT_H_ | 86 #endif // SYNC_ENGINE_COMMIT_H_ |
OLD | NEW |