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

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

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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/proxy/url_loader_resource.h ('k') | ppapi/proxy/video_decoder_resource.h » ('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 #ifndef PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
6 #define PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 6 #define PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ppapi/c/dev/ppp_video_capture_dev.h" 12 #include "ppapi/c/dev/ppp_video_capture_dev.h"
13 #include "ppapi/proxy/device_enumeration_resource_helper.h" 13 #include "ppapi/proxy/device_enumeration_resource_helper.h"
14 #include "ppapi/proxy/plugin_resource.h" 14 #include "ppapi/proxy/plugin_resource.h"
15 #include "ppapi/thunk/ppb_video_capture_api.h" 15 #include "ppapi/thunk/ppb_video_capture_api.h"
16 16
17 namespace ppapi { 17 namespace ppapi {
18 namespace proxy { 18 namespace proxy {
19 19
20 class PluginDispatcher;
21
20 class VideoCaptureResource 22 class VideoCaptureResource
21 : public PluginResource, 23 : public PluginResource,
22 public ::ppapi::thunk::PPB_VideoCapture_API { 24 public ::ppapi::thunk::PPB_VideoCapture_API {
23 public: 25 public:
24 VideoCaptureResource(Connection connection, 26 VideoCaptureResource(Connection connection,
25 PP_Instance instance, 27 PP_Instance instance,
26 PluginDispatcher* dispatcher); 28 PluginDispatcher* dispatcher);
27 ~VideoCaptureResource() override; 29 ~VideoCaptureResource() override;
28 30
29 // PluginResource override. 31 // PluginResource override.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 92
91 DeviceEnumerationResourceHelper enumeration_helper_; 93 DeviceEnumerationResourceHelper enumeration_helper_;
92 94
93 DISALLOW_COPY_AND_ASSIGN(VideoCaptureResource); 95 DISALLOW_COPY_AND_ASSIGN(VideoCaptureResource);
94 }; 96 };
95 97
96 } // namespace proxy 98 } // namespace proxy
97 } // namespace ppapi 99 } // namespace ppapi
98 100
99 #endif // PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 101 #endif // PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/url_loader_resource.h ('k') | ppapi/proxy/video_decoder_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698