|
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 |
|
11 namespace android { |
|
12 MOZ_EXPORT RefBase::RefBase() : mRefs(0) |
|
13 { |
|
14 } |
|
15 |
|
16 MOZ_EXPORT RefBase::~RefBase() |
|
17 { |
|
18 } |
|
19 |
|
20 MOZ_EXPORT void RefBase::incStrong(const void *id) const |
|
21 { |
|
22 } |
|
23 |
|
24 MOZ_EXPORT void RefBase::decStrong(const void *id) const |
|
25 { |
|
26 } |
|
27 |
|
28 MOZ_EXPORT void RefBase::onFirstRef() |
|
29 { |
|
30 } |
|
31 |
|
32 MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) |
|
33 { |
|
34 } |
|
35 |
|
36 MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) |
|
37 { |
|
38 return false; |
|
39 } |
|
40 |
|
41 MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) |
|
42 { |
|
43 } |
|
44 |
|
45 MOZ_EXPORT String16::String16(char const*) |
|
46 { |
|
47 } |
|
48 |
|
49 MOZ_EXPORT String16::~String16() |
|
50 { |
|
51 } |
|
52 |
|
53 MOZ_EXPORT String8::String8() |
|
54 { |
|
55 } |
|
56 |
|
57 MOZ_EXPORT String8::~String8() |
|
58 { |
|
59 } |
|
60 } |