Index: chrome/browser/automation/automation_provider.h |
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h |
index a9dbc9d9db5b05e7ab43bac6e388b9b72557993f..6afbd8da1bfcf56e6872478dabe102a2847700b7 100644 |
--- a/chrome/browser/automation/automation_provider.h |
+++ b/chrome/browser/automation/automation_provider.h |
@@ -211,9 +211,15 @@ class AutomationProvider |
scoped_refptr<AutomationResourceMessageFilter> |
automation_resource_message_filter_; |
+ // True iff we should open a new automation IPC channel if it closes. |
+ bool reconnect_on_channel_error_; |
Nirnimesh
2011/02/17 00:55:12
s/reconnect_on_channel_error_/reinitialize_on_chan
dtu
2011/02/17 02:14:25
Done.
|
+ |
private: |
void OnUnhandledMessage(); |
+ // Clear and reinitialize the automation IPC channel. |
+ bool ReinitializeChannel(); |
+ |
// IPC Message callbacks. |
void WindowSimulateDrag(int handle, |
std::vector<gfx::Point> drag_path, |
@@ -396,6 +402,9 @@ class AutomationProvider |
// True iff browser finished loading initial set of tabs. |
bool initial_loads_complete_; |
+ // ID of automation channel. |
+ std::string channel_id_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
}; |