Returning scoped_ptr instead of raw pointer in SpdySessionPoolInfoToValue() in net/
[chromium-blink-merge.git] / ppapi / thunk / ppb_flash_drm_api.h
blob9937bef45e67b9c044f07e1cb2c9fee199606786
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 #include "base/memory/ref_counted.h"
6 #include "ppapi/thunk/ppapi_thunk_export.h"
8 namespace ppapi {
10 class TrackedCallback;
12 namespace thunk {
14 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API {
15 public:
16 virtual ~PPB_Flash_DRM_API() {}
18 virtual int32_t GetDeviceID(PP_Var* id,
19 scoped_refptr<TrackedCallback> callback) = 0;
20 virtual PP_Bool GetHmonitor(int64_t* hmonitor) = 0;
21 virtual int32_t GetVoucherFile(PP_Resource* file_ref,
22 scoped_refptr<TrackedCallback> callback) = 0;
23 virtual int32_t MonitorIsExternal(
24 PP_Bool* is_external,
25 scoped_refptr<TrackedCallback> callback) = 0;
28 } // namespace thunk
29 } // namespace ppapi