Chromium Code Reviews| Index: chrome/test/pyautolib/pyauto.py |
| diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py |
| index ec3be84359210e4015a48fc641aff497e4c2b120..e80edfd329ddd0e3acb4ae9531c3a5ad44c5c07f 100644 |
| --- a/chrome/test/pyautolib/pyauto.py |
| +++ b/chrome/test/pyautolib/pyauto.py |
| @@ -3607,6 +3607,15 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): |
| } |
| return self._GetResultFromJSONRequest(cmd_dict, windex=-1) |
| + def CaptureProfilePhoto(self): |
| + """Captures user profile photo and saves it to file. |
| + |
|
dennis_jeffrey
2011/07/29 20:10:06
Maybe mention here where the expected file is crea
frankf
2011/07/29 21:50:40
I've added more info here. The exact path to file
|
| + Raises: |
| + pyauto_errors.JSONInterfaceError if the automation call returns an error. |
| + """ |
| + cmd_dict = { 'command': 'CaptureProfilePhoto' } |
| + return self._GetResultFromJSONRequest(cmd_dict) |
|
dennis_jeffrey
2011/07/29 20:10:06
Is something important actually returned here? Th
frankf
2011/07/29 21:50:40
No there is no return value. However, all the func
dennis_jeffrey
2011/07/29 23:11:46
I think it's kind of inconsistent in this file. F
|
| + |
| ## ChromeOS section -- end |