diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 18:53:34 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 18:53:34 +0000 |
commit | 2bcc56e08363522d5155d281fa91b5b0a1f4df49 (patch) | |
tree | 6bec0bcc7e75482bbad7946e869bf9a4cc9a3acb /content/public | |
parent | 09af2247b5bfac76d72e415fb6656d24fa0f1f0d (diff) | |
download | chromium_src-2bcc56e08363522d5155d281fa91b5b0a1f4df49.zip chromium_src-2bcc56e08363522d5155d281fa91b5b0a1f4df49.tar.gz chromium_src-2bcc56e08363522d5155d281fa91b5b0a1f4df49.tar.bz2 |
Move content_plugin_client.h to content\public\plugin.
The plugin_carbon_interpose_mac.cc which intercepts system API's in plugin processes on the Mac has been moved to
content\plugin. The plugin_carbon_interpose shared library target which lives in chrome.gyp refers to this file.
This is a short term workaround while we look into switching the interposing mechanism on the mac.
Changes as part of creating a Content API
BUG=98716
Review URL: http://codereview.chromium.org/8224021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/plugin/content_plugin_client.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/content/public/plugin/content_plugin_client.h b/content/public/plugin/content_plugin_client.h new file mode 100644 index 0000000..346765a --- /dev/null +++ b/content/public/plugin/content_plugin_client.h @@ -0,0 +1,24 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ +#define CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ +#pragma once + +#include "base/string16.h" +#include "content/common/content_client.h" + +namespace content { + +// Embedder API for participating in plugin logic. +class ContentPluginClient { + public: + // Notifies that a plugin process has started. + virtual void PluginProcessStarted(const string16& plugin_name) = 0; +}; + +} // namespace content + +#endif // CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ + |