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

Unified Diff: ppapi/proxy/ppb_video_capture_proxy.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_url_response_info_proxy.cc ('k') | ppapi/proxy/ppb_video_capture_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_video_capture_proxy.h
diff --git a/ppapi/proxy/ppb_video_capture_proxy.h b/ppapi/proxy/ppb_video_capture_proxy.h
index 34b65362ca382ea61148f4c9d932a3aa0c161e28..c324cd9e68415e8988fad4ab25a4e6fb42d0e861 100644
--- a/ppapi/proxy/ppb_video_capture_proxy.h
+++ b/ppapi/proxy/ppb_video_capture_proxy.h
@@ -13,11 +13,13 @@ struct PPB_VideoCapture_Dev;
struct PPP_VideoCapture_Dev;
struct PP_VideoCaptureDeviceInfo_Dev;
+namespace ppapi {
+class HostResource;
+}
+
namespace pp {
namespace proxy {
-class HostResource;
-
class PPB_VideoCapture_Proxy : public InterfaceProxy {
public:
PPB_VideoCapture_Proxy(Dispatcher* dispatcher, const void* target_interface);
@@ -36,13 +38,13 @@ class PPB_VideoCapture_Proxy : public InterfaceProxy {
private:
// Message handlers.
- void OnMsgCreate(PP_Instance instance, HostResource* result_resource);
- void OnMsgStartCapture(const HostResource& resource,
+ void OnMsgCreate(PP_Instance instance, ppapi::HostResource* result_resource);
+ void OnMsgStartCapture(const ppapi::HostResource& resource,
const PP_VideoCaptureDeviceInfo_Dev& info,
uint32_t buffers);
- void OnMsgReuseBuffer(const HostResource& resource,
+ void OnMsgReuseBuffer(const ppapi::HostResource& resource,
uint32_t buffer);
- void OnMsgStopCapture(const HostResource& resource);
+ void OnMsgStopCapture(const ppapi::HostResource& resource);
};
class PPP_VideoCapture_Proxy : public InterfaceProxy {
@@ -61,14 +63,14 @@ class PPP_VideoCapture_Proxy : public InterfaceProxy {
private:
// Message handlers.
- void OnMsgOnDeviceInfo(const HostResource& video_capture,
+ void OnMsgOnDeviceInfo(const ppapi::HostResource& video_capture,
const PP_VideoCaptureDeviceInfo_Dev& info,
const std::vector<PPPVideoCapture_Buffer>& buffers);
- void OnMsgOnStatus(const HostResource& video_capture,
+ void OnMsgOnStatus(const ppapi::HostResource& video_capture,
uint32_t status);
- void OnMsgOnError(const HostResource& video_capture,
+ void OnMsgOnError(const ppapi::HostResource& video_capture,
uint32_t error_code);
- void OnMsgOnBufferReady(const HostResource& video_capture,
+ void OnMsgOnBufferReady(const ppapi::HostResource& video_capture,
uint32_t buffer);
};
« no previous file with comments | « ppapi/proxy/ppb_url_response_info_proxy.cc ('k') | ppapi/proxy/ppb_video_capture_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698