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

Side by Side Diff: ppapi/proxy/flash_resource.h

Issue 11039012: Implement plugin side of sync EnumerateVideoCaptureDevices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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/ppapi_tests.gypi ('k') | ppapi/proxy/flash_resource.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_PROXY_FLASH_RESOURCE_H_
6 #define PPAPI_PROXY_FLASH_RESOURCE_H_
7
8 #include "ppapi/proxy/connection.h"
9 #include "ppapi/proxy/plugin_resource.h"
10 #include "ppapi/proxy/ppapi_proxy_export.h"
11 #include "ppapi/thunk/ppb_flash_functions_api.h"
12
13 struct PP_ArrayOutput;
14
15 namespace ppapi {
16 namespace proxy {
17
18 class PPAPI_PROXY_EXPORT FlashResource
19 : public PluginResource,
20 public NON_EXPORTED_BASE(thunk::PPB_Flash_Functions_API) {
21 public:
22 FlashResource(Connection connection, PP_Instance instance);
23 virtual ~FlashResource();
24
25 // Resource overrides.
26 virtual thunk::PPB_Flash_Functions_API* AsPPB_Flash_Functions_API() OVERRIDE;
27
28 // PPB_Flash_Functions_API.
29 virtual int32_t EnumerateVideoCaptureDevices(
30 PP_Instance instance,
31 PP_Resource video_capture,
32 const PP_ArrayOutput& devices) OVERRIDE;
33
34 private:
35 DISALLOW_COPY_AND_ASSIGN(FlashResource);
36 };
37
38 } // namespace proxy
39 } // namespace ppapi
40
41 #endif // PPAPI_PROXY_FLASH_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/flash_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698