Home | History | Annotate | Download | only in engine
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_
      6 #define SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_
      7 
      8 #include "sync/base/sync_export.h"
      9 
     10 namespace syncer {
     11 
     12 class Cryptographer;
     13 
     14 namespace syncable {
     15 class Directory;
     16 class MutableEntry;
     17 class WriteTransaction;
     18 }
     19 
     20 SYNC_EXPORT_PRIVATE void ApplyControlDataUpdates(syncable::Directory* dir);
     21 void ApplyNigoriUpdate(syncable::WriteTransaction* trans,
     22                        syncable::MutableEntry* const entry,
     23                        Cryptographer* cryptographer);
     24 void ApplyControlUpdate(syncable::WriteTransaction* const trans,
     25                         syncable::MutableEntry* const entry,
     26                         Cryptographer* cryptographer);
     27 
     28 }  // namespace syncer
     29 
     30 #endif  // SYNC_ENGINE_APPLY_CONTROL_DATA_UPDATES_H_
     31