Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / content / public / plugin / content_plugin_client.h
blobf68c3ad56f6d36bc8bc581f6c277a2976a8cbd2b
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"
11 namespace content {
13 // Embedder API for participating in plugin logic.
14 class CONTENT_EXPORT ContentPluginClient {
15 public:
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_