media/omx-plugin/lib/gb/libutils/libutils.cpp

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

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

mercurial