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

Unified Diff: chrome/test/pyautolib/pyautolib.i

Issue 6685099: Removing command_execution_timeout_ms in favor of action_max_timeout_ms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/test/pyautolib/pyautolib.i
===================================================================
--- chrome/test/pyautolib/pyautolib.i (revision 79305)
+++ chrome/test/pyautolib/pyautolib.i (working copy)
@@ -194,15 +194,6 @@
action_max_timeout_ms;
int action_max_timeout_ms() const;
- %feature("docstring", "Get the timeout (in milli secs) for an automation "
- "call") command_execution_timeout_ms;
- int command_execution_timeout_ms() const;
- %feature("docstring", "Set the timeout (in milli secs) for an automation "
- "call. This is an internal method. Do not use this directly. "
- "Use CmdExecutionTimeoutChanger instead")
- set_command_execution_timeout_ms;
- void set_command_execution_timeout_ms(int timeout);
-
%feature("docstring", "Launches the browser and IPC testing server.")
LaunchBrowserAndServer;
void LaunchBrowserAndServer();
@@ -374,6 +365,15 @@
_SendJSONRequest;
std::string _SendJSONRequest(int window_index, const std::string& request);
+ // Meta-method
+ %feature("docstring", "Send a sync JSON request to Chrome. "
+ "Returns a JSON dict as a response. "
+ "Internal method.")
+ _SendJSONRequest;
+ std::string _SendJSONRequest(int window_index,
+ const std::string& request,
+ int timeout);
+
%feature("docstring", "Execute a string of javascript in the specified "
"(window, tab, frame) and return a string.") ExecuteJavascript;
std::wstring ExecuteJavascript(const std::wstring& script,

Powered by Google App Engine
This is Rietveld 408576698