Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: chrome/browser/automation/automation_provider.h

Issue 6515016: Restart named testing channel on disconnect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Permissions fixes and cleanup. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/automation/automation_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698