Move a MediaCodecBridge log
[chromium-blink-merge.git] / chromeos / dbus / shill_third_party_vpn_observer.h
blob0a85eb8f26e2094d0fb554ac61c89af59d2acfdf
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 <vector>
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::vector<char>& 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_