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

Side by Side Diff: content/ppapi_plugin/broker_process_dispatcher.h

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/ppapi_plugin/broker_process_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ppapi/c/ppp.h" 10 #include "ppapi/c/ppp.h"
11 #include "ppapi/proxy/broker_dispatcher.h" 11 #include "ppapi/proxy/broker_dispatcher.h"
12 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 12 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
13 13
14 namespace content {
15
14 // Wrapper around a BrokerDispatcher that provides the necessary integration 16 // Wrapper around a BrokerDispatcher that provides the necessary integration
15 // for plugin process management. This class is to avoid direct dependencies 17 // for plugin process management. This class is to avoid direct dependencies
16 // from the PPAPI proxy on the Chrome multiprocess infrastructure. 18 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
17 class BrokerProcessDispatcher 19 class BrokerProcessDispatcher
18 : public ppapi::proxy::BrokerSideDispatcher, 20 : public ppapi::proxy::BrokerSideDispatcher,
19 public base::SupportsWeakPtr<BrokerProcessDispatcher> { 21 public base::SupportsWeakPtr<BrokerProcessDispatcher> {
20 public: 22 public:
21 BrokerProcessDispatcher(PP_GetInterface_Func get_plugin_interface, 23 BrokerProcessDispatcher(PP_GetInterface_Func get_plugin_interface,
22 PP_ConnectInstance_Func connect_instance); 24 PP_ConnectInstance_Func connect_instance);
23 virtual ~BrokerProcessDispatcher(); 25 virtual ~BrokerProcessDispatcher();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 80
79 PP_GetInterface_Func get_plugin_interface_; 81 PP_GetInterface_Func get_plugin_interface_;
80 82
81 const PPP_Flash_BrowserOperations_1_3* flash_browser_operations_1_3_; 83 const PPP_Flash_BrowserOperations_1_3* flash_browser_operations_1_3_;
82 const PPP_Flash_BrowserOperations_1_2* flash_browser_operations_1_2_; 84 const PPP_Flash_BrowserOperations_1_2* flash_browser_operations_1_2_;
83 const PPP_Flash_BrowserOperations_1_0* flash_browser_operations_1_0_; 85 const PPP_Flash_BrowserOperations_1_0* flash_browser_operations_1_0_;
84 86
85 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher); 87 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher);
86 }; 88 };
87 89
90 } // namespace content
91
88 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 92 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/ppapi_plugin/broker_process_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698