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

Side by Side Diff: ppapi/proxy/broker_dispatcher.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_BROKER_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_BROKER_DISPATCHER_H_
6 #define PPAPI_PROXY_BROKER_DISPATCHER_H_ 6 #define PPAPI_PROXY_BROKER_DISPATCHER_H_
7 7
8 #include "ppapi/c/trusted/ppp_broker.h" 8 #include "ppapi/c/trusted/ppp_broker.h"
9 #include "ppapi/proxy/proxy_channel.h" 9 #include "ppapi/proxy/proxy_channel.h"
10 10
11 namespace pp { 11 namespace ppapi {
12 namespace proxy { 12 namespace proxy {
13 13
14 class BrokerDispatcher : public ProxyChannel { 14 class BrokerDispatcher : public ProxyChannel {
15 public: 15 public:
16 virtual ~BrokerDispatcher(); 16 virtual ~BrokerDispatcher();
17 17
18 // You must call this function before anything else. Returns true on success. 18 // You must call this function before anything else. Returns true on success.
19 // The delegate pointer must outlive this class, ownership is not 19 // The delegate pointer must outlive this class, ownership is not
20 // transferred. 20 // transferred.
21 virtual bool InitBrokerWithChannel(ProxyChannel::Delegate* delegate, 21 virtual bool InitBrokerWithChannel(ProxyChannel::Delegate* delegate,
(...skipping 30 matching lines...) Expand all
52 class BrokerSideDispatcher : public BrokerDispatcher { 52 class BrokerSideDispatcher : public BrokerDispatcher {
53 public: 53 public:
54 BrokerSideDispatcher(base::ProcessHandle remote_process_handle, 54 BrokerSideDispatcher(base::ProcessHandle remote_process_handle,
55 PP_ConnectInstance_Func connect_instance); 55 PP_ConnectInstance_Func connect_instance);
56 56
57 // IPC::Channel::Listener implementation. 57 // IPC::Channel::Listener implementation.
58 virtual void OnChannelError(); 58 virtual void OnChannelError();
59 }; 59 };
60 60
61 } // namespace proxy 61 } // namespace proxy
62 } // namespace pp 62 } // namespace ppapi
63 63
64 #endif // PPAPI_PROXY_BROKER_DISPATCHER_H_ 64 #endif // PPAPI_PROXY_BROKER_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698