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

Issue 10804038: Convert cookie and download automation commands to the JSON interface. (Closed)

Created:
8 years, 5 months ago by craigdh
Modified:
8 years, 4 months ago
Reviewers:
jam, Nirnimesh
CC:
chromium-reviews, kkania, anantha, robertshield, dyu1, dennis_jeffrey
Visibility:
Public.

Description

Convert cookie and download automation commands to the JSON interface. GetCookie, SetCookie, DeleteCookie, SetDownloadShelfVisible, IsDownloadShelfVisible, GetDownloadDirectory BUG=132794 TEST=PyAuto CONTINUOUS suite Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148809

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : Changed automation function names and removed tab_index. #

Patch Set 4 : Removed now unused functions from *Proxy/TestingAutomationProvider #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -230 lines) Patch
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 6 chunks +61 lines, -14 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 12 chunks +184 lines, -59 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/automation/browser_proxy.h View 1 2 3 4 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/test/automation/browser_proxy.cc View 1 2 3 4 2 chunks +0 lines, -29 lines 0 comments Download
M chrome/test/automation/tab_proxy.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/automation/tab_proxy.cc View 1 2 3 4 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 2 chunks +125 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.h View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.cc View 1 2 3 4 3 chunks +0 lines, -58 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 2 3 4 2 chunks +0 lines, -26 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
craigdh
and today's conversions...
8 years, 5 months ago (2012-07-19 23:40:08 UTC) #1
Nirnimesh
https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc#newcode6711 chrome/browser/automation/testing_automation_provider.cc:6711: void TestingAutomationProvider::SetTabCookieJSON(DictionaryValue* args, What is setTabCookie for? I thought ...
8 years, 5 months ago (2012-07-20 02:19:46 UTC) #2
craigdh
https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc#newcode6711 chrome/browser/automation/testing_automation_provider.cc:6711: void TestingAutomationProvider::SetTabCookieJSON(DictionaryValue* args, On 2012/07/20 02:19:46, Nirnimesh wrote: > ...
8 years, 5 months ago (2012-07-20 15:27:43 UTC) #3
craigdh
https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc#newcode6711 chrome/browser/automation/testing_automation_provider.cc:6711: void TestingAutomationProvider::SetTabCookieJSON(DictionaryValue* args, On 2012/07/20 15:27:43, craigdh wrote: > ...
8 years, 5 months ago (2012-07-20 18:49:59 UTC) #4
Nirnimesh
On 2012/07/20 18:49:59, craigdh wrote: > https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc > File chrome/browser/automation/testing_automation_provider.cc (right): > > https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc#newcode6711 > ...
8 years, 5 months ago (2012-07-20 20:52:26 UTC) #5
craigdh
On 2012/07/20 20:52:26, Nirnimesh wrote: > On 2012/07/20 18:49:59, craigdh wrote: > > > https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/browser/automation/testing_automation_provider.cc ...
8 years, 5 months ago (2012-07-20 21:07:05 UTC) #6
Nirnimesh
https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/test/pyautolib/pyauto.py#newcode1388 chrome/test/pyautolib/pyauto.py:1388: return self._GetResultFromJSONRequest(cmd_dict, windex=windex)['cookies'] this should probably be windex=None?
8 years, 5 months ago (2012-07-20 22:16:20 UTC) #7
craigdh
https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/10804038/diff/3001/chrome/test/pyautolib/pyauto.py#newcode1388 chrome/test/pyautolib/pyauto.py:1388: return self._GetResultFromJSONRequest(cmd_dict, windex=windex)['cookies'] On 2012/07/20 22:16:20, Nirnimesh wrote: > ...
8 years, 5 months ago (2012-07-20 23:23:41 UTC) #8
Nirnimesh
LGTM
8 years, 5 months ago (2012-07-21 05:08:34 UTC) #9
craigdh
+jam: owners approval for more refactoring towards reducing the automation to one IPC channel.
8 years, 5 months ago (2012-07-24 21:31:56 UTC) #10
jam
why aren't these changes deleting the unused methods on BrowserProxy, marking the IPCs as deprecated, ...
8 years, 5 months ago (2012-07-24 21:38:28 UTC) #11
craigdh
On 2012/07/24 21:38:28, John Abd-El-Malek wrote: > why aren't these changes deleting the unused methods ...
8 years, 5 months ago (2012-07-24 21:44:41 UTC) #12
jam
On 2012/07/24 21:44:41, craigdh wrote: > On 2012/07/24 21:38:28, John Abd-El-Malek wrote: > > why ...
8 years, 5 months ago (2012-07-24 21:50:18 UTC) #13
craigdh
On 2012/07/24 21:50:18, John Abd-El-Malek wrote: > On 2012/07/24 21:44:41, craigdh wrote: > > On ...
8 years, 5 months ago (2012-07-24 22:03:09 UTC) #14
jam
On 2012/07/24 22:03:09, craigdh wrote: > On 2012/07/24 21:50:18, John Abd-El-Malek wrote: > > On ...
8 years, 5 months ago (2012-07-25 00:20:04 UTC) #15
craigdh
On 2012/07/25 00:20:04, John Abd-El-Malek wrote: > On 2012/07/24 22:03:09, craigdh wrote: > > On ...
8 years, 5 months ago (2012-07-25 19:32:47 UTC) #16
jam
lgtm given that the automation interface will be deprecated, it seems switching from IPC to ...
8 years, 5 months ago (2012-07-25 20:53:21 UTC) #17
Nirnimesh
On 2012/07/25 20:53:21, John Abd-El-Malek wrote: > lgtm > > given that the automation interface ...
8 years, 5 months ago (2012-07-25 20:58:11 UTC) #18
jam
On 2012/07/25 20:58:11, Nirnimesh wrote: > On 2012/07/25 20:53:21, John Abd-El-Malek wrote: > > lgtm ...
8 years, 5 months ago (2012-07-25 21:05:32 UTC) #19
Nirnimesh
On 2012/07/25 21:05:32, John Abd-El-Malek wrote: > On 2012/07/25 20:58:11, Nirnimesh wrote: > > On ...
8 years, 5 months ago (2012-07-25 21:11:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10804038/20001
8 years, 4 months ago (2012-07-27 17:48:24 UTC) #21
commit-bot: I haz the power
Try job failure for 10804038-20001 on linux_chromeos for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=29331 Step "update" is always ...
8 years, 4 months ago (2012-07-27 18:33:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10804038/20001
8 years, 4 months ago (2012-07-27 18:44:23 UTC) #23
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 21:14:59 UTC) #24
Change committed as 148809

Powered by Google App Engine
This is Rietveld 408576698