Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1156)

Side by Side Diff: ppapi/cpp/private/flash_device_id.h

Issue 10535062: Add an asynchronous version of the Flash DeviceID API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/private/ppb_flash_device_id.h ('k') | ppapi/cpp/private/flash_device_id.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_
7
8 #include "ppapi/cpp/completion_callback.h"
9 #include "ppapi/cpp/resource.h"
10
11 namespace pp {
12 namespace flash {
13
14 class DeviceID : public Resource {
15 public:
16 DeviceID();
17 DeviceID(const InstanceHandle& instance);
18
19 // On success, returns a string var.
20 int32_t GetDeviceID(const CompletionCallbackWithOutput<Var>& callback);
21 };
22
23 } // namespace flash
24 } // namespace pp
25
26 #endif // PPAPI_CPP_PRIVATE_FLASH_DEVICE_ID_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash_device_id.h ('k') | ppapi/cpp/private/flash_device_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698