diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 15:31:15 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 15:31:15 +0000 |
commit | fafc3234cf5852eac398d1c1fd99b01cb4b6eb98 (patch) | |
tree | 875a8ca678f3690dd077d92460cc8f18e1d68f99 /chrome/plugin/plugin_thread.h | |
parent | c39e715f96f482ebf4b2a00405bb3ccb5b8e8826 (diff) | |
download | chromium_src-fafc3234cf5852eac398d1c1fd99b01cb4b6eb98.zip chromium_src-fafc3234cf5852eac398d1c1fd99b01cb4b6eb98.tar.gz chromium_src-fafc3234cf5852eac398d1c1fd99b01cb4b6eb98.tar.bz2 |
Revert "posix: two related changes to make plugin IPC work on POSIX."
This looks like it might be to blame for reliability test failures,
so I'm trying it out.
This reverts commit r18888.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_thread.h')
-rw-r--r-- | chrome/plugin/plugin_thread.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/plugin/plugin_thread.h b/chrome/plugin/plugin_thread.h index 911940a..052be0a 100644 --- a/chrome/plugin/plugin_thread.h +++ b/chrome/plugin/plugin_thread.h @@ -7,15 +7,10 @@ #include "base/file_path.h" #include "base/native_library.h" -#include "build/build_config.h" #include "chrome/common/child_thread.h" #include "chrome/plugin/plugin_channel.h" #include "webkit/glue/plugins/plugin_lib.h" -#if defined(OS_POSIX) -#include "base/file_descriptor_posix.h" -#endif - class NotificationService; // The PluginThread class represents a background thread where plugin instances @@ -36,14 +31,7 @@ class PluginThread : public ChildThread { virtual void Init(); virtual void CleanUp(); - // Callback for when a channel has been created. - // On POSIX, |socket| is the channel endpoint socket. - void OnCreateChannel( -#if defined(OS_POSIX) - base::FileDescriptor socket, -#endif - int process_id, - bool off_the_record); + void OnCreateChannel(int process_id, bool off_the_record); void OnPluginMessage(const std::vector<uint8> &data); scoped_ptr<NotificationService> notification_service_; |