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

Side by Side Diff: content/ppapi_plugin/broker_process_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 CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
6 #define CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 6 #define CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ppapi/proxy/broker_dispatcher.h" 9 #include "ppapi/proxy/broker_dispatcher.h"
10 10
11 // Wrapper around a BrokerDispatcher that provides the necessary integration 11 // Wrapper around a BrokerDispatcher that provides the necessary integration
12 // for plugin process management. This class is to avoid direct dependencies 12 // for plugin process management. This class is to avoid direct dependencies
13 // from the PPAPI proxy on the Chrome multiprocess infrastructure. 13 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
14 class BrokerProcessDispatcher : public pp::proxy::BrokerSideDispatcher { 14 class BrokerProcessDispatcher : public ppapi::proxy::BrokerSideDispatcher {
15 public: 15 public:
16 BrokerProcessDispatcher(base::ProcessHandle remote_process_handle, 16 BrokerProcessDispatcher(base::ProcessHandle remote_process_handle,
17 PP_ConnectInstance_Func connect_instance); 17 PP_ConnectInstance_Func connect_instance);
18 virtual ~BrokerProcessDispatcher(); 18 virtual ~BrokerProcessDispatcher();
19 19
20 private: 20 private:
21 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher); 21 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher);
22 }; 22 };
23 23
24 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 24 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698