Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "mozilla/Types.h"
7 #include "utils/RefBase.h"
8 #include "utils/String16.h"
9 #include "utils/String8.h"
10 #include "utils/Vector.h"
12 namespace android {
13 MOZ_EXPORT RefBase::RefBase() : mRefs(0)
14 {
15 }
17 MOZ_EXPORT RefBase::~RefBase()
18 {
19 }
21 MOZ_EXPORT void RefBase::incStrong(const void *id) const
22 {
23 }
25 MOZ_EXPORT void RefBase::decStrong(const void *id) const
26 {
27 }
29 MOZ_EXPORT void RefBase::onFirstRef()
30 {
31 }
33 MOZ_EXPORT void RefBase::onLastStrongRef(const void* id)
34 {
35 }
37 MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id)
38 {
39 return false;
40 }
42 MOZ_EXPORT void RefBase::onLastWeakRef(void const* id)
43 {
44 }
46 MOZ_EXPORT String16::String16(char const*)
47 {
48 }
50 MOZ_EXPORT String16::~String16()
51 {
52 }
54 MOZ_EXPORT String8::String8()
55 {
56 }
58 MOZ_EXPORT String8::String8(const String8 &)
59 {
60 }
62 MOZ_EXPORT String8::~String8()
63 {
64 }
66 MOZ_EXPORT VectorImpl::VectorImpl(size_t, uint32_t)
67 : mFlags(0), mItemSize(0)
68 {
69 }
71 MOZ_EXPORT VectorImpl::VectorImpl(const VectorImpl &)
72 : mFlags(0), mItemSize(0)
73 {
74 }
76 MOZ_EXPORT VectorImpl::~VectorImpl()
77 {
78 }
80 MOZ_EXPORT void VectorImpl::finish_vector()
81 {
82 }
84 }