Index: chrome/browser/automation/automation_provider_observers.h |
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h |
index 2411bb9a9ab969ef49a1505e29af1fbcf7be88d5..6a49f3c38c6bf084bd799cc487849d8dd18cbf2e 100644 |
--- a/chrome/browser/automation/automation_provider_observers.h |
+++ b/chrome/browser/automation/automation_provider_observers.h |
@@ -993,5 +993,24 @@ class OnNotificationBalloonCountObserver { |
DISALLOW_COPY_AND_ASSIGN(OnNotificationBalloonCountObserver); |
}; |
+// Allos the automation provider to wait for a RENDERER_PROCESS_CLOSED |
AmolKher
2010/12/10 18:56:44
Allows
|
+// notification. |
+class RendererProcessClosedObserver : public NotificationObserver { |
+ public: |
+ RendererProcessClosedObserver(AutomationProvider* automation, |
+ IPC::Message* reply_message); |
+ |
+ virtual void Observe(NotificationType type, |
+ const NotificationSource& source, |
+ const NotificationDetails& details); |
+ |
+ private: |
+ NotificationRegistrar registrar_; |
+ AutomationProvider* automation_; |
+ IPC::Message* reply_message_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(RendererProcessClosedObserver); |
+}; |
+ |
#endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |