| OLD | NEW |
| 1 // Copyright (c) 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 SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ | 5 #ifndef SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ |
| 6 #define SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ | 6 #define SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ |
| 7 | 7 |
| 8 #include "sync/base/sync_export.h" |
| 9 |
| 8 namespace syncer { | 10 namespace syncer { |
| 9 | 11 |
| 10 class Cryptographer; | 12 class Cryptographer; |
| 11 | 13 |
| 12 namespace sessions { | 14 namespace sessions { |
| 13 class SyncSession; | 15 class SyncSession; |
| 14 } | 16 } |
| 15 | 17 |
| 16 namespace syncable { | 18 namespace syncable { |
| 17 class Directory; | 19 class Directory; |
| 18 class MutableEntry; | 20 class MutableEntry; |
| 19 class WriteTransaction; | 21 class WriteTransaction; |
| 20 } | 22 } |
| 21 | 23 |
| 22 void ApplyControlDataUpdates(sessions::SyncSession* session); | 24 SYNC_EXPORT_PRIVATE void ApplyControlDataUpdates( |
| 25 sessions::SyncSession* session); |
| 23 void ApplyNigoriUpdate(syncable::WriteTransaction* trans, | 26 void ApplyNigoriUpdate(syncable::WriteTransaction* trans, |
| 24 syncable::MutableEntry* const entry, | 27 syncable::MutableEntry* const entry, |
| 25 Cryptographer* cryptographer); | 28 Cryptographer* cryptographer); |
| 26 void ApplyControlUpdate(syncable::WriteTransaction* const trans, | 29 void ApplyControlUpdate(syncable::WriteTransaction* const trans, |
| 27 syncable::MutableEntry* const entry, | 30 syncable::MutableEntry* const entry, |
| 28 Cryptographer* cryptographer); | 31 Cryptographer* cryptographer); |
| 29 | 32 |
| 30 } // namespace syncer | 33 } // namespace syncer |
| 31 | 34 |
| 32 #endif // SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ | 35 #endif // SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_ |
| OLD | NEW |