chromium/chrome/browser/web_applications/test/fake_web_app_database_factory.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/web_applications/test/fake_web_app_database_factory.h"

#include "base/run_loop.h"
#include "base/test/bind.h"
#include "chrome/browser/web_applications/proto/web_app.pb.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/web_applications/web_app_database.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "components/sync/model/data_type_store.h"
#include "components/sync/model/model_error.h"
#include "components/sync/test/data_type_store_test_util.h"

namespace web_app {

FakeWebAppDatabaseFactory::FakeWebAppDatabaseFactory() = default;

FakeWebAppDatabaseFactory::~FakeWebAppDatabaseFactory() = default;

syncer::DataTypeStore* FakeWebAppDatabaseFactory::GetStore() {}

syncer::OnceDataTypeStoreFactory FakeWebAppDatabaseFactory::GetStoreFactory() {}

Registry FakeWebAppDatabaseFactory::ReadRegistry() {}

std::set<webapps::AppId> FakeWebAppDatabaseFactory::ReadAllAppIds() {}

void FakeWebAppDatabaseFactory::WriteProtos(
    const std::vector<std::unique_ptr<WebAppProto>>& protos) {}

void FakeWebAppDatabaseFactory::WriteRegistry(const Registry& registry) {}

}  // namespace web_app