ipc/hal/DaemonSocketMessageHandlers.h
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Thu, 05 Nov 2015 07:07:32 -0800
changeset 292944 d845a262fdcacc8bc966ffc725b025bba41e1f68
parent 283260 1a8bfb9330d9b8f4eac3d8e0998a0df979a5d48c
permissions -rw-r--r--
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/3d74b9cdd47d Author: Johan Lorenzo <jlorenzo@mozilla.com> Desc: Merge pull request #32719 from mermi/patchBug1212843 Bug 1212843 - Provide an install method in gaia_test.py and convert uninstall the use manifestURL ======== https://hg.mozilla.org/integration/gaia-central/rev/620aaef47c75 Author: mermi <manel.rhaiem92@gmail.com> Desc: Bug 1212843 - Provide an install method in gaia_test.py and convert uninstall the use manifestURL

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

/*
 * Message handlers
 *
 * This file contains base classes for message handling.
 */

#ifndef mozilla_ipc_DaemonSocketMessageHandlers_h
#define mozilla_ipc_DaemonSocketMessageHandlers_h

#include "nsISupportsImpl.h" // for ref-counting

namespace mozilla {
namespace ipc {

/**
 * |DaemonSocketResultHandler| is the base class for all protocol-specific
 * result handlers. It currently only manages the reference counting.
 */
class DaemonSocketResultHandler
{
public:
  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DaemonSocketResultHandler);

protected:
  DaemonSocketResultHandler()
  { }
  virtual ~DaemonSocketResultHandler()
  { }
};

} // namespace ipc
} // namespace mozilla

#endif // mozilla_ipc_DaemonSocketMessageHandlers_h