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

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

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PPB_VIDEO_CAPTURE_PROXY_H_ 5 #ifndef PPAPI_PPB_VIDEO_CAPTURE_PROXY_H_
6 #define PPAPI_PPB_VIDEO_CAPTURE_PROXY_H_ 6 #define PPAPI_PPB_VIDEO_CAPTURE_PROXY_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/proxy/interface_proxy.h" 9 #include "ppapi/proxy/interface_proxy.h"
10 #include "ppapi/proxy/serialized_structs.h" 10 #include "ppapi/proxy/serialized_structs.h"
11 11
12 struct PPB_VideoCapture_Dev; 12 struct PPB_VideoCapture_Dev;
13 struct PPP_VideoCapture_Dev; 13 struct PPP_VideoCapture_Dev;
14 struct PP_VideoCaptureDeviceInfo_Dev; 14 struct PP_VideoCaptureDeviceInfo_Dev;
15 15
16 namespace ppapi { 16 namespace ppapi {
17
17 class HostResource; 18 class HostResource;
18 }
19 19
20 namespace pp {
21 namespace proxy { 20 namespace proxy {
22 21
23 class PPB_VideoCapture_Proxy : public InterfaceProxy { 22 class PPB_VideoCapture_Proxy : public InterfaceProxy {
24 public: 23 public:
25 PPB_VideoCapture_Proxy(Dispatcher* dispatcher, const void* target_interface); 24 PPB_VideoCapture_Proxy(Dispatcher* dispatcher, const void* target_interface);
26 virtual ~PPB_VideoCapture_Proxy(); 25 virtual ~PPB_VideoCapture_Proxy();
27 26
28 static const Info* GetInfo(); 27 static const Info* GetInfo();
29 28
30 static PP_Resource CreateProxyResource(PP_Instance instance); 29 static PP_Resource CreateProxyResource(PP_Instance instance);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const std::vector<PPPVideoCapture_Buffer>& buffers); 67 const std::vector<PPPVideoCapture_Buffer>& buffers);
69 void OnMsgOnStatus(const ppapi::HostResource& video_capture, 68 void OnMsgOnStatus(const ppapi::HostResource& video_capture,
70 uint32_t status); 69 uint32_t status);
71 void OnMsgOnError(const ppapi::HostResource& video_capture, 70 void OnMsgOnError(const ppapi::HostResource& video_capture,
72 uint32_t error_code); 71 uint32_t error_code);
73 void OnMsgOnBufferReady(const ppapi::HostResource& video_capture, 72 void OnMsgOnBufferReady(const ppapi::HostResource& video_capture,
74 uint32_t buffer); 73 uint32_t buffer);
75 }; 74 };
76 75
77 } // namespace proxy 76 } // namespace proxy
78 } // namespace pp 77 } // namespace ppapi
79 78
80 #endif // PPAPI_PPB_VIDEO_CAPTURE_PROXY_H_ 79 #endif // PPAPI_PPB_VIDEO_CAPTURE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698