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

Side by Side Diff: ppapi/thunk/ppb_flash_device_id_api.h

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_device_id_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "base/memory/ref_counted.h"
6 #include "ppapi/thunk/ppapi_thunk_export.h"
7
5 namespace ppapi { 8 namespace ppapi {
9
10 class TrackedCallback;
11
6 namespace thunk { 12 namespace thunk {
7 13
8 class PPAPI_THUNK_EXPORT PPB_Flash_DeviceID_API { 14 class PPAPI_THUNK_EXPORT PPB_Flash_DeviceID_API {
9 public: 15 public:
10 virtual ~PPB_Flash_DeviceID_API() {} 16 virtual ~PPB_Flash_DeviceID_API() {}
11 17
12 virtual int32_t GetDeviceID(PP_Var* id, 18 virtual int32_t GetDeviceID(PP_Var* id,
13 const PP_CompletionCallback& callback) = 0; 19 scoped_refptr<TrackedCallback> callback) = 0;
14 }; 20 };
15 21
16 } // namespace thunk 22 } // namespace thunk
17 } // namespace ppapi 23 } // namespace ppapi
18 24
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_device_id_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698