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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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_PLUGIN_PROCESS_DISPATCHER_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_
6 #define CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_ 6 #define CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "content/child/scoped_child_process_reference.h" 9 #include "content/child/scoped_child_process_reference.h"
10 #include "ppapi/proxy/plugin_dispatcher.h" 10 #include "ppapi/proxy/plugin_dispatcher.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // Wrapper around a PluginDispatcher that provides the necessary integration 14 // Wrapper around a PluginDispatcher that provides the necessary integration
15 // for plugin process management. This class is to avoid direct dependencies 15 // for plugin process management. This class is to avoid direct dependencies
16 // from the PPAPI proxy on the Chrome multiprocess infrastructure. 16 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
17 class PluginProcessDispatcher : public ppapi::proxy::PluginDispatcher { 17 class PluginProcessDispatcher : public ppapi::proxy::PluginDispatcher {
18 public: 18 public:
19 PluginProcessDispatcher(PP_GetInterface_Func get_interface, 19 PluginProcessDispatcher(PP_GetInterface_Func get_interface,
20 const ppapi::PpapiPermissions& permissions, 20 const ppapi::PpapiPermissions& permissions,
21 bool incognito); 21 bool incognito);
22 ~PluginProcessDispatcher() override; 22 ~PluginProcessDispatcher() override;
23 23
24 private: 24 private:
25 ScopedChildProcessReference process_ref_; 25 ScopedChildProcessReference process_ref_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(PluginProcessDispatcher); 27 DISALLOW_COPY_AND_ASSIGN(PluginProcessDispatcher);
28 }; 28 };
29 29
30 } // namespace content 30 } // namespace content
31 31
32 #endif // CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_ 32 #endif // CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/ppapi_plugin/broker_process_dispatcher.cc ('k') | content/ppapi_plugin/ppapi_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698