Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/GMPCallbackBase.h
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* This Source Code Form is subject to the terms of the Mozilla Public
3
 * License, v. 2.0. If a copy of the MPL was not distributed with this
4
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6
#ifndef GMPCallbackBase_h_
7
#define GMPCallbackBase_h_
8
9
class GMPCallbackBase
10
{
11
public:
12
0
  virtual ~GMPCallbackBase() {}
13
14
  // The GMP code will call this if the codec crashes or shuts down.  It's
15
  // expected that the consumer (destination of this callback) will respond
16
  // by dropping their reference to the proxy, allowing the proxy/parent to
17
  // be destroyed.
18
  virtual void Terminated() = 0;
19
};
20
21
#endif