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

Issue 7976016: New pyauto automation hook to get browser process information. (Closed)

Created:
9 years, 3 months ago by dennis_jeffrey
Modified:
9 years, 3 months ago
Reviewers:
Nirnimesh
CC:
chromium-reviews, Nirnimesh, John Grabowski, kkania, anantha, dyu1, Paweł Hajdan Jr., dennis_jeffrey
Visibility:
Public.

Description

New pyauto automation hook to get browser process information. Also modified the pyauto tests in process_count.py to use the new automation hook. Verified that this works on my local ChromeOS device, my local Linux machine, and the Win/Mac trybots. Re-enabling the tests on Win/Mac in the CONTINUOUS suite to see if they now pass continuously. BUG=94650, 95142, 93822 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102406

Patch Set 1 #

Total comments: 10

Patch Set 2 : Synced with trunk and addressed review comments. #

Patch Set 3 : Minor style edit. #

Total comments: 8

Patch Set 4 : Addressed second round of review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -32 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 chunks +80 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/test/functional/process_count.py View 1 2 3 chunks +57 lines, -23 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 3 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
dennis_jeffrey
9 years, 3 months ago (2011-09-21 00:19:07 UTC) #1
Nirnimesh
http://codereview.chromium.org/7976016/diff/1/chrome/browser/automation/automation_provider_observers.cc File chrome/browser/automation/automation_provider_observers.cc (right): http://codereview.chromium.org/7976016/diff/1/chrome/browser/automation/automation_provider_observers.cc#newcode2762 chrome/browser/automation/automation_provider_observers.cc:2762: const std::vector<ProcessData>& browser_processes = processes(); This includes all processes ...
9 years, 3 months ago (2011-09-21 22:42:35 UTC) #2
dennis_jeffrey
http://codereview.chromium.org/7976016/diff/1/chrome/browser/automation/automation_provider_observers.cc File chrome/browser/automation/automation_provider_observers.cc (right): http://codereview.chromium.org/7976016/diff/1/chrome/browser/automation/automation_provider_observers.cc#newcode2762 chrome/browser/automation/automation_provider_observers.cc:2762: const std::vector<ProcessData>& browser_processes = processes(); On 2011/09/21 22:42:35, Nirnimesh ...
9 years, 3 months ago (2011-09-22 18:25:34 UTC) #3
Nirnimesh
LGTM http://codereview.chromium.org/7976016/diff/1/chrome/test/functional/process_count.py File chrome/test/functional/process_count.py (right): http://codereview.chromium.org/7976016/diff/1/chrome/test/functional/process_count.py#newcode46 chrome/test/functional/process_count.py:46: self.pp = pprint.PrettyPrinter(indent=2) > Good idea. There are ...
9 years, 3 months ago (2011-09-22 19:35:25 UTC) #4
Nirnimesh
Corrections http://codereview.chromium.org/7976016/diff/12001/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): http://codereview.chromium.org/7976016/diff/12001/chrome/test/pyautolib/pyauto.py#newcode141 chrome/test/pyautolib/pyauto.py:141: self.pretty_printer = pprint.PrettyPrinter(indent=2) ok. I'm obviously high. Ignore ...
9 years, 3 months ago (2011-09-22 19:36:48 UTC) #5
dennis_jeffrey
http://codereview.chromium.org/7976016/diff/1/chrome/test/functional/process_count.py File chrome/test/functional/process_count.py (right): http://codereview.chromium.org/7976016/diff/1/chrome/test/functional/process_count.py#newcode46 chrome/test/functional/process_count.py:46: self.pp = pprint.PrettyPrinter(indent=2) On 2011/09/22 19:35:26, Nirnimesh wrote: > ...
9 years, 3 months ago (2011-09-22 19:54:02 UTC) #6
Nirnimesh
9 years, 3 months ago (2011-09-22 21:11:23 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698