| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UTIL_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_UTIL_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_UTIL_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "components/sync/base/extensions_activity.h" | 12 #include "components/sync/base/extensions_activity.h" |
| 13 #include "components/sync/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
| 14 #include "components/sync/protocol/sync.pb.h" | 14 #include "components/sync/protocol/sync.pb.h" |
| 15 | 15 |
| 16 namespace sync_pb { | 16 namespace sync_pb { |
| 17 class CommitMessage; | 17 class CommitMessage; |
| 18 class SyncEntity; | 18 class SyncEntity; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace syncer { | 21 namespace syncer { |
| 22 | 22 |
| 23 namespace syncable { | 23 namespace syncable { |
| 24 class BaseTransaction; | |
| 25 class Entry; | 24 class Entry; |
| 26 class Id; | 25 class Id; |
| 27 class BaseWriteTransaction; | 26 class BaseWriteTransaction; |
| 28 } | 27 } |
| 29 | 28 |
| 30 namespace commit_util { | 29 namespace commit_util { |
| 31 | 30 |
| 32 // Adds bookmark extensions activity report to |message|. | 31 // Adds bookmark extensions activity report to |message|. |
| 33 void AddExtensionsActivityToMessage( | 32 void AddExtensionsActivityToMessage( |
| 34 ExtensionsActivity* activity, | 33 ExtensionsActivity* activity, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 56 const sync_pb::CommitResponse_EntryResponse& server_entry, | 55 const sync_pb::CommitResponse_EntryResponse& server_entry, |
| 57 const sync_pb::SyncEntity& commit_request_entry, | 56 const sync_pb::SyncEntity& commit_request_entry, |
| 58 int64_t metahandle, | 57 int64_t metahandle, |
| 59 std::set<syncable::Id>* deleted_folders); | 58 std::set<syncable::Id>* deleted_folders); |
| 60 | 59 |
| 61 } // namespace commit_util | 60 } // namespace commit_util |
| 62 | 61 |
| 63 } // namespace syncer | 62 } // namespace syncer |
| 64 | 63 |
| 65 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_UTIL_H_ | 64 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_UTIL_H_ |
| OLD | NEW |