// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_SERVICE_BACKEND_MIGRATOR_H_ #define COMPONENTS_SYNC_SERVICE_BACKEND_MIGRATOR_H_ #include <string> #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/observer_list.h" #include "components/sync/base/data_type.h" #include "components/sync/service/data_type_manager.h" namespace syncer { // Interface for anything that wants to know when the migrator's state // changes. class MigrationObserver { … }; // A class to perform migration of a datatype pursuant to the 'MIGRATION_DONE' // code in the sync protocol definition (protocol/sync.proto). class BackendMigrator { … }; } // namespace syncer #endif // COMPONENTS_SYNC_SERVICE_BACKEND_MIGRATOR_H_