1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_OBSERVER_H_
6 #define CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_OBSERVER_H_
13 // This is a base class for observers which handle signals sent by the
14 // ThirdPartyVpnAdaptor in Shill.
15 class ShillThirdPartyVpnObserver
{
17 virtual void OnPacketReceived(const std::string
& data
) = 0;
18 virtual void OnPlatformMessage(uint32_t message
) = 0;
21 virtual ~ShillThirdPartyVpnObserver() {}
24 DISALLOW_ASSIGN(ShillThirdPartyVpnObserver
);
27 } // namespace chromeos
29 #endif // CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_OBSERVER_H_