blob: e9d8cdf98885d18a83c7df0fbef9303db6237d57 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
#define COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
#include <memory>
#include <string>
#include "base/callback.h"
#include "components/sync/engine/sync_manager_factory.h"
namespace syncer {
class SyncManagerFactoryForProfileSyncTest : public SyncManagerFactory {
public:
SyncManagerFactoryForProfileSyncTest(
base::OnceClosure init_callback,
network::NetworkConnectionTracker* network_connection_tracker);
~SyncManagerFactoryForProfileSyncTest() override;
std::unique_ptr<SyncManager> CreateSyncManager(
const std::string& name) override;
private:
base::OnceClosure init_callback_;
};
} // namespace syncer
#endif // COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_