bluetooth: Shutdown BluetoothAdapter before DBus on ChromeOS.
[chromium-blink-merge.git] / chromeos / dbus / shill_third_party_vpn_observer.h
bloba01eb974643e9f1b854a876ef9bfa6c3852734e6
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_
8 #include <stdint.h>
9 #include <string>
11 namespace chromeos {
13 // This is a base class for observers which handle signals sent by the
14 // ThirdPartyVpnAdaptor in Shill.
15 class ShillThirdPartyVpnObserver {
16 public:
17 virtual void OnPacketReceived(const std::string& data) = 0;
18 virtual void OnPlatformMessage(uint32_t message) = 0;
20 protected:
21 virtual ~ShillThirdPartyVpnObserver() {}
23 private:
24 DISALLOW_ASSIGN(ShillThirdPartyVpnObserver);
27 } // namespace chromeos
29 #endif // CHROMEOS_DBUS_SHILL_THIRD_PARTY_VPN_OBSERVER_H_