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

Side by Side Diff: ppapi/proxy/ppb_flash_tcp_socket_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_PPB_FLASH_TCP_SOCKET_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_TCP_SOCKET_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_TCP_SOCKET_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_TCP_SOCKET_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/private/ppb_flash_tcp_socket.h" 13 #include "ppapi/c/private/ppb_flash_tcp_socket.h"
14 #include "ppapi/proxy/interface_proxy.h" 14 #include "ppapi/proxy/interface_proxy.h"
15 15
16 namespace pp { 16 namespace ppapi {
17 namespace proxy { 17 namespace proxy {
18 18
19 // The maximum number of bytes that each PpapiHostMsg_PPBFlashTCPSocket_Read 19 // The maximum number of bytes that each PpapiHostMsg_PPBFlashTCPSocket_Read
20 // message is allowed to request. 20 // message is allowed to request.
21 extern const int32_t kFlashTCPSocketMaxReadSize; 21 extern const int32_t kFlashTCPSocketMaxReadSize;
22 // The maximum number of bytes that each PpapiHostMsg_PPBFlashTCPSocket_Write 22 // The maximum number of bytes that each PpapiHostMsg_PPBFlashTCPSocket_Write
23 // message is allowed to carry. 23 // message is allowed to carry.
24 extern const int32_t kFlashTCPSocketMaxWriteSize; 24 extern const int32_t kFlashTCPSocketMaxWriteSize;
25 25
26 class PPB_Flash_TCPSocket_Proxy : public InterfaceProxy { 26 class PPB_Flash_TCPSocket_Proxy : public InterfaceProxy {
(...skipping 22 matching lines...) Expand all
49 const std::string& data); 49 const std::string& data);
50 void OnMsgWriteACK(uint32 plugin_dispatcher_id, 50 void OnMsgWriteACK(uint32 plugin_dispatcher_id,
51 uint32 socket_id, 51 uint32 socket_id,
52 bool succeeded, 52 bool succeeded,
53 int32_t bytes_written); 53 int32_t bytes_written);
54 54
55 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_TCPSocket_Proxy); 55 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_TCPSocket_Proxy);
56 }; 56 };
57 57
58 } // namespace proxy 58 } // namespace proxy
59 } // namespace pp 59 } // namespace ppapi
60 60
61 #endif // PPAPI_PROXY_PPB_FLASH_TCP_SOCKET_PROXY_H_ 61 #endif // PPAPI_PROXY_PPB_FLASH_TCP_SOCKET_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698