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

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

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup per kkania. 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
« 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 e0f5c9a6514dde1b44b02619a5cdafd380d347bb..91d6023038a6342b2304dbec493477d9bfb17d57 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -372,11 +372,11 @@ class PyUITestBase {
int tab_index=0);
// Misc methods
- %feature("docstring", "Install an extension from the given file. The file "
- "must be specified with an absolute path. Returns the extension ID "
- "if successfully installed and loaded. Otherwise, returns the empty "
- "string.") InstallExtension;
- std::string InstallExtension(const FilePath& crx_file, bool with_ui);
+ %feature("docstring", "Install an extension from the given path. The path "
+ "must be absolute and may be a crx file or an unpacked extension "
+ "directory. Returns the extension ID if successfully installed and "
+ "loaded. Otherwise, returns the empty string.") InstallExtension;
+ std::string InstallExtension(const std::string& extension_path, bool with_ui);
%feature("docstring", "Get a proxy to the browser window at the given "
"zero-based index.") GetBrowserWindow;
« 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