| 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..90e75b374b4154867b3d2c7705801426ff86c3ba 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 reinitialize_on_channel_error_;
|
| +
|
| 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);
|
| };
|
|
|
|
|