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_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_
6 #define CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_
8 #include "base/strings/string16.h"
9 #include "content/public/common/content_client.h"
13 // Embedder API for participating in plugin logic.
14 class CONTENT_EXPORT ContentPluginClient
{
16 virtual ~ContentPluginClient() {}
18 // Called to perform any per-process initialization necessary before
19 // the sandbox is initialized for the plugin process.
20 virtual void PreSandboxInitialization() {}
22 // Notifies that a plugin process has started.
23 virtual void PluginProcessStarted(const base::string16
& plugin_name
) {}
26 } // namespace content
28 #endif // CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_