OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ |
6 #define COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ |
7 | 7 |
8 #include "components/sync/base/sync_export.h" | |
9 | |
10 namespace syncer { | 8 namespace syncer { |
11 | 9 |
12 class Cryptographer; | 10 class Cryptographer; |
13 | 11 |
14 namespace syncable { | 12 namespace syncable { |
15 class Directory; | 13 class Directory; |
16 class MutableEntry; | 14 class MutableEntry; |
17 class WriteTransaction; | 15 class WriteTransaction; |
18 } | 16 } |
19 | 17 |
20 SYNC_EXPORT void ApplyControlDataUpdates(syncable::Directory* dir); | 18 void ApplyControlDataUpdates(syncable::Directory* dir); |
21 void ApplyNigoriUpdate(syncable::WriteTransaction* trans, | 19 void ApplyNigoriUpdate(syncable::WriteTransaction* trans, |
22 syncable::MutableEntry* const entry, | 20 syncable::MutableEntry* const entry, |
23 Cryptographer* cryptographer); | 21 Cryptographer* cryptographer); |
24 void ApplyControlUpdate(syncable::WriteTransaction* const trans, | 22 void ApplyControlUpdate(syncable::WriteTransaction* const trans, |
25 syncable::MutableEntry* const entry, | 23 syncable::MutableEntry* const entry, |
26 Cryptographer* cryptographer); | 24 Cryptographer* cryptographer); |
27 | 25 |
28 } // namespace syncer | 26 } // namespace syncer |
29 | 27 |
30 #endif // COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ | 28 #endif // COMPONENTS_SYNC_ENGINE_IMPL_APPLY_CONTROL_DATA_UPDATES_H_ |
OLD | NEW |