michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim:set ts=2 sw=2 sts=2 et cindent: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: #include "mozilla/Types.h" michael@0: #include "utils/RefBase.h" michael@0: #include "utils/String16.h" michael@0: #include "utils/String8.h" michael@0: michael@0: namespace android { michael@0: MOZ_EXPORT RefBase::RefBase() : mRefs(0) michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT RefBase::~RefBase() michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT void RefBase::incStrong(const void *id) const michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT void RefBase::decStrong(const void *id) const michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT void RefBase::onFirstRef() michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) michael@0: { michael@0: return false; michael@0: } michael@0: michael@0: MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT String16::String16(char const*) michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT String16::~String16() michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT String8::String8() michael@0: { michael@0: } michael@0: michael@0: MOZ_EXPORT String8::~String8() michael@0: { michael@0: } michael@0: }