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

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

Issue 7523060: Let pyauto create an attached webdriver instance to manipulate web pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 5 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.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 1e25d61403b85241aa0617c64ebf011f19276364..1ba30c931855bed26ef67b3f0c38d38de888260d 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -156,6 +156,7 @@ bool AutomationProvider::InitializeChannel(const std::string& channel_id) {
automation_resource_message_filter_ = new AutomationResourceMessageFilter;
}
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
Paweł Hajdan Jr. 2011/07/29 20:48:38 Let's do it on the right thread. Who knows what ra
kkania 2011/07/29 22:44:19 I believe it is on the right thread. This is only
Paweł Hajdan Jr. 2011/07/30 00:03:03 Then you shouldn't need ScopedAllowIO here.
channel_.reset(new IPC::ChannelProxy(
effective_channel_id,
GetChannelMode(use_named_interface),
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.h » ('j') | chrome/test/automation/proxy_launcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698