Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ppapi / cpp / dev / device_ref_dev.h
blob048b95654c7dee1480eb919facda1d49e49e0550
1 // Copyright (c) 2012 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 PPAPI_CPP_DEV_DEVICE_REF_DEV_H_
6 #define PPAPI_CPP_DEV_DEVICE_REF_DEV_H_
8 #include "ppapi/c/dev/ppb_device_ref_dev.h"
9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/var.h"
12 namespace pp {
14 class DeviceRef_Dev : public Resource {
15 public:
16 DeviceRef_Dev();
18 explicit DeviceRef_Dev(PP_Resource resource);
20 DeviceRef_Dev(PassRef, PP_Resource resource);
22 DeviceRef_Dev(const DeviceRef_Dev& other);
24 virtual ~DeviceRef_Dev();
26 PP_DeviceType_Dev GetType() const;
28 Var GetName() const;
31 } // namespace pp
33 #endif // PPAPI_CPP_DEV_DEVICE_REF_DEV_H_