chromium/extensions/browser/api/declarative/deduping_factory_unittest.cc

// 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.

#include "extensions/browser/api/declarative/deduping_factory.h"

#include <memory>

#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

const char kTypeName[] =;
const char kTypeName2[] =;

// This serves as an example how to use the DedupingFactory.
class BaseClass : public base::RefCounted<BaseClass> {};

class Foo : public BaseClass {};

scoped_refptr<const BaseClass> CreateFoo(const std::string& /*instance_type*/,
                                         const base::Value::Dict& value,
                                         std::string* error,
                                         bool* bad_message) {}

base::Value::Dict CreateDictWithParameter(int parameter) {}

}  // namespace

namespace extensions {

FactoryT;

TEST(DedupingFactoryTest, InstantiationParameterized) {}

TEST(DedupingFactoryTest, InstantiationNonParameterized) {}

TEST(DedupingFactoryTest, TypeNames) {}

TEST(DedupingFactoryTest, Clear) {}

}  // namespace extensions