SimpleCache: add an histogram to record the age of entry on open
[chromium-blink-merge.git] / content / ppapi_plugin / plugin_process_dispatcher.h
blob1398a067a2c0ef7e26b04b744c4c46dfbee57a69
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_
6 #define CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_
8 #include "base/basictypes.h"
9 #include "ppapi/proxy/plugin_dispatcher.h"
11 namespace content {
13 // Wrapper around a PluginDispatcher that provides the necessary integration
14 // for plugin process management. This class is to avoid direct dependencies
15 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
16 class PluginProcessDispatcher : public ppapi::proxy::PluginDispatcher {
17 public:
18 PluginProcessDispatcher(PP_GetInterface_Func get_interface,
19 const ppapi::PpapiPermissions& permissions,
20 bool incognito);
21 virtual ~PluginProcessDispatcher();
23 private:
24 DISALLOW_COPY_AND_ASSIGN(PluginProcessDispatcher);
27 } // namespace content
29 #endif // CONTENT_PPAPI_PLUGIN_PLUGIN_PROCESS_DISPATCHER_H_