diff options
Diffstat (limited to 'chromium/ppapi/shared_impl/ppb_device_ref_shared.h')
-rw-r--r-- | chromium/ppapi/shared_impl/ppb_device_ref_shared.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/chromium/ppapi/shared_impl/ppb_device_ref_shared.h b/chromium/ppapi/shared_impl/ppb_device_ref_shared.h index 9ea367ee05d..294093fe871 100644 --- a/chromium/ppapi/shared_impl/ppb_device_ref_shared.h +++ b/chromium/ppapi/shared_impl/ppb_device_ref_shared.h @@ -6,7 +6,6 @@ #define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ #include <string> -#include <vector> #include "base/basictypes.h" #include "base/compiler_specific.h" @@ -22,9 +21,7 @@ struct PPAPI_SHARED_EXPORT DeviceRefData { DeviceRefData(); bool operator==(const DeviceRefData& other) const { - return type == other.type && - name == other.name && - id == other.id; + return type == other.type && name == other.name && id == other.id; } PP_DeviceType_Dev type; @@ -48,11 +45,6 @@ class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared virtual PP_DeviceType_Dev GetType() OVERRIDE; virtual PP_Var GetName() OVERRIDE; - static PP_Resource CreateResourceArray( - ResourceObjectType type, - PP_Instance instance, - const std::vector<DeviceRefData>& devices); - private: DeviceRefData data_; |