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

Side by Side Diff: ppapi/proxy/ppp_video_decoder_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_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
6 #define PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 6 #define PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
7 7
8 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 8 #include "ppapi/c/dev/ppp_video_decoder_dev.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
11 #include "ppapi/shared_impl/host_resource.h" 11 #include "ppapi/shared_impl/host_resource.h"
12 12
13 struct PP_Picture_Dev; 13 struct PP_Picture_Dev;
14 struct PP_Size; 14 struct PP_Size;
15 15
16 namespace pp { 16 namespace ppapi {
17 namespace proxy { 17 namespace proxy {
18 18
19 class PPP_VideoDecoder_Proxy : public InterfaceProxy { 19 class PPP_VideoDecoder_Proxy : public InterfaceProxy {
20 public: 20 public:
21 PPP_VideoDecoder_Proxy(Dispatcher* dispatcher, const void* target_interface); 21 PPP_VideoDecoder_Proxy(Dispatcher* dispatcher, const void* target_interface);
22 virtual ~PPP_VideoDecoder_Proxy(); 22 virtual ~PPP_VideoDecoder_Proxy();
23 23
24 static const Info* GetInfo(); 24 static const Info* GetInfo();
25 25
26 const PPP_VideoDecoder_Dev* ppp_video_decoder_target() const { 26 const PPP_VideoDecoder_Dev* ppp_video_decoder_target() const {
(...skipping 13 matching lines...) Expand all
40 void OnMsgPictureReady(const ppapi::HostResource& decoder, 40 void OnMsgPictureReady(const ppapi::HostResource& decoder,
41 const PP_Picture_Dev& picture_buffer); 41 const PP_Picture_Dev& picture_buffer);
42 void OnMsgNotifyEndOfStream(const ppapi::HostResource& decoder); 42 void OnMsgNotifyEndOfStream(const ppapi::HostResource& decoder);
43 void OnMsgNotifyError(const ppapi::HostResource& decoder, 43 void OnMsgNotifyError(const ppapi::HostResource& decoder,
44 PP_VideoDecodeError_Dev error); 44 PP_VideoDecodeError_Dev error);
45 45
46 DISALLOW_COPY_AND_ASSIGN(PPP_VideoDecoder_Proxy); 46 DISALLOW_COPY_AND_ASSIGN(PPP_VideoDecoder_Proxy);
47 }; 47 };
48 48
49 } // namespace proxy 49 } // namespace proxy
50 } // namespace pp 50 } // namespace ppapi
51 51
52 #endif // PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 52 #endif // PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698