| 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 COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_H_ |
| 6 #define SYNC_ENGINE_COMMIT_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "sync/base/sync_export.h" | 15 #include "components/sync/base/extensions_activity.h" |
| 16 #include "sync/engine/commit_contribution.h" | 16 #include "components/sync/base/model_type.h" |
| 17 #include "sync/internal_api/public/base/model_type.h" | 17 #include "components/sync/base/sync_export.h" |
| 18 #include "sync/internal_api/public/engine/model_safe_worker.h" | 18 #include "components/sync/base/syncer_error.h" |
| 19 #include "sync/internal_api/public/util/syncer_error.h" | 19 #include "components/sync/engine/model_safe_worker.h" |
| 20 #include "sync/protocol/sync.pb.h" | 20 #include "components/sync/engine_impl/commit_contribution.h" |
| 21 #include "sync/sessions/nudge_tracker.h" | 21 #include "components/sync/protocol/sync.pb.h" |
| 22 #include "sync/util/extensions_activity.h" | 22 #include "components/sync/sessions_impl/nudge_tracker.h" |
| 23 | 23 |
| 24 namespace syncer { | 24 namespace syncer { |
| 25 | 25 |
| 26 namespace sessions { | 26 namespace sessions { |
| 27 class StatusController; | 27 class StatusController; |
| 28 class SyncSession; | 28 class SyncSession; |
| 29 } | 29 } |
| 30 | 30 |
| 31 class CommitProcessor; | 31 class CommitProcessor; |
| 32 class Syncer; | 32 class Syncer; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 ExtensionsActivity::Records extensions_activity_buffer_; | 78 ExtensionsActivity::Records extensions_activity_buffer_; |
| 79 | 79 |
| 80 // Debug only flag used to indicate if it's safe to destruct the object. | 80 // Debug only flag used to indicate if it's safe to destruct the object. |
| 81 bool cleaned_up_; | 81 bool cleaned_up_; |
| 82 | 82 |
| 83 DISALLOW_COPY_AND_ASSIGN(Commit); | 83 DISALLOW_COPY_AND_ASSIGN(Commit); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace syncer | 86 } // namespace syncer |
| 87 | 87 |
| 88 #endif // SYNC_ENGINE_COMMIT_H_ | 88 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_H_ |
| OLD | NEW |