Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ppapi / cpp / private / flash_device_id.h
blob33c5e55652f17f1dfa6c93327f955d4d4913a759
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_PRIVATE_FLASH_DEVICE_ID_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_
8 #include "ppapi/cpp/completion_callback.h"
9 #include "ppapi/cpp/resource.h"
11 namespace pp {
12 namespace flash {
14 class DeviceID : public Resource {
15 public:
16 DeviceID();
17 DeviceID(const InstanceHandle& instance);
19 // On success, returns a string var.
20 int32_t GetDeviceID(const CompletionCallbackWithOutput<Var>& callback);
23 } // namespace flash
24 } // namespace pp
26 #endif // PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_