OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_DRM_H_ |
6 #define PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_ | 6 #define PPAPI_CPP_PRIVATE_FLASH_DRM_H_ |
7 | 7 |
8 #include "ppapi/cpp/completion_callback.h" | 8 #include "ppapi/cpp/completion_callback.h" |
9 #include "ppapi/cpp/resource.h" | 9 #include "ppapi/cpp/resource.h" |
10 | 10 |
11 namespace pp { | 11 namespace pp { |
12 namespace flash { | 12 namespace flash { |
13 | 13 |
14 class DeviceID : public Resource { | 14 class DRM : public Resource { |
15 public: | 15 public: |
16 DeviceID(); | 16 DRM(); |
17 DeviceID(const InstanceHandle& instance); | 17 DRM(const InstanceHandle& instance); |
yzshen1
2013/05/21 06:32:31
explicit?
raymes
2013/05/21 16:32:51
Done.
| |
18 | 18 |
19 // On success, returns a string var. | 19 // On success, returns a string var. |
20 int32_t GetDeviceID(const CompletionCallbackWithOutput<Var>& callback); | 20 int32_t GetDeviceID(const CompletionCallbackWithOutput<Var>& callback); |
21 }; | 21 }; |
22 | 22 |
23 } // namespace flash | 23 } // namespace flash |
24 } // namespace pp | 24 } // namespace pp |
25 | 25 |
26 #endif // PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_ | 26 #endif // PPAPI_CPP_PRIVATE_FLASH_DRM_H_ |
OLD | NEW |