| Index: content/public/renderer/browser_plugin/browser_plugin_observer.h
|
| diff --git a/content/public/renderer/browser_plugin/browser_plugin_observer.h b/content/public/renderer/browser_plugin/browser_plugin_observer.h
|
| index 807ddb2063db3acb592118077282b74957445323..a764b7289766de8e70216501ec457b9843b8bf40 100644
|
| --- a/content/public/renderer/browser_plugin/browser_plugin_observer.h
|
| +++ b/content/public/renderer/browser_plugin/browser_plugin_observer.h
|
| @@ -18,6 +18,9 @@ class BrowserPluginImpl;
|
| class CONTENT_EXPORT BrowserPluginObserver : public IPC::Listener,
|
| public IPC::Sender {
|
| public:
|
| + BrowserPlugin* browser_plugin() const;
|
| + int instance_id() { return instance_id_; }
|
| +
|
| // By default, observers will be deleted when the BrowserPlugin goes away. If
|
| // they want to outlive it, they can override this function.
|
| virtual void OnDestruct();
|
| @@ -25,15 +28,12 @@ class CONTENT_EXPORT BrowserPluginObserver : public IPC::Listener,
|
| // IPC::Listener implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|
| - protected:
|
| - explicit BrowserPluginObserver(BrowserPlugin* browser_plugin);
|
| - virtual ~BrowserPluginObserver();
|
| -
|
| // IPC::Sender implementation.
|
| virtual bool Send(IPC::Message* message) OVERRIDE;
|
|
|
| - BrowserPlugin* browser_plugin() const;
|
| - int instance_id() { return instance_id_; }
|
| + protected:
|
| + explicit BrowserPluginObserver(BrowserPlugin* browser_plugin);
|
| + virtual ~BrowserPluginObserver();
|
|
|
| private:
|
| friend class BrowserPluginImpl;
|
|
|