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

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

Issue 6410134: Use named automation interface to control primary chrome on ChromeOS (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: nit 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
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyautolib.i
diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
index 34ad6e29ef74727b8e1a6381d88f72a52d594375..68460e69689d11d7a7c05f7cdd9bb3ce2b309082 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -180,6 +180,8 @@ class PyUITestBase {
"before launching the browser. For internal use.") Initialize;
void Initialize(const FilePath& browser_dir);
+ void UseNamedChannelID(const std::string& named_channel_id);
+
%feature("docstring",
"Fires up the browser and opens a window.") SetUp;
virtual void SetUp();
@@ -369,7 +371,7 @@ class PyUITestBase {
"Returns a JSON dict as a response. "
"Internal method.")
_SendJSONRequest;
- std::string _SendJSONRequest(int window_index, std::string request);
+ std::string _SendJSONRequest(int window_index, const std::string& request);
%feature("docstring", "Execute a string of javascript in the specified "
"(window, tab, frame) and return a string.") ExecuteJavascript;
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698