blob: 7701209d58b9ed1c9bf5946f14239196058f2706 [file] [log] [blame]
// Copyright 2018 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.
#include "base/test/type_id_test_support_a.h"
#include <memory>
namespace {
struct TypeInAnonymousNameSpace {};
} // namespace
namespace base {
// static
TypeId TypeIdTestSupportA::GetTypeIdForTypeInAnonymousNameSpace() {
return TypeId::From<TypeInAnonymousNameSpace>();
}
TypeId TypeIdTestSupportA::GetTypeIdForUniquePtrInt() {
return TypeId::From<std::unique_ptr<int>>();
}
TypeId TypeIdTestSupportA::GetTypeIdForUniquePtrTestType() {
return TypeId::From<std::unique_ptr<TestType>>();
}
} // namespace base