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

Issue 113722: Make automation proxy objects to ref_counted. That allows to process async no... (Closed)

Created:
11 years, 7 months ago by stoyan
Modified:
9 years, 7 months ago
Reviewers:
amit
CC:
chromium-reviews_googlegroups.com, jam
Visibility:
Public.

Description

Make automation proxy objects to ref_counted. That allows to process async notifications directly in channel background thread. Add support for listener-less ChannelProxy. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17093

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+668 lines, -521 lines) Patch
M chrome/browser/browser_uitest.cc View 1 2 3 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/crash_recovery_uitest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/download/download_uitest.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/download/save_page_uitest.cc View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_uitest.cc View 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/redirect_uitest.cc View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/login_prompt_uitest.cc View 1 2 3 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/metrics/metrics_service_uitest.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/printing/printing_layout_uitest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc View 1 2 3 8 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/session_history_uitest.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sessions/session_restore_uitest.cc View 1 2 3 18 chunks +34 lines, -35 lines 0 comments Download
M chrome/browser/ssl/ssl_uitest.cc View 1 2 3 27 chunks +30 lines, -30 lines 0 comments Download
M chrome/browser/tab_contents/view_source_uitest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_restore_uitest.cc View 1 2 3 26 chunks +51 lines, -54 lines 0 comments Download
M chrome/browser/unload_uitest.cc View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/views/constrained_window_impl_interactive_uitest.cc View 1 2 3 8 chunks +20 lines, -20 lines 0 comments Download
M chrome/browser/views/find_bar_win_interactive_uitest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/views/find_bar_win_uitest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/views/tabs/tab_dragging_test.cc View 1 2 3 18 chunks +33 lines, -33 lines 0 comments Download
M chrome/common/logging_chrome_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/cache_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_service_uitest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/accessibility/accessibility_tests.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_test_base.h View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_test_base.cc View 1 2 3 7 chunks +12 lines, -10 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_test_test.cc View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_tests.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_tests.cc View 1 2 3 4 chunks +5 lines, -6 lines 0 comments Download
M chrome/test/automation/automation_handle_tracker.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/test/automation/automation_handle_tracker.cc View 1 2 3 1 chunk +21 lines, -25 lines 0 comments Download
M chrome/test/automation/automation_proxy.h View 1 2 3 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 2 3 10 chunks +91 lines, -26 lines 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 38 chunks +75 lines, -81 lines 0 comments Download
M chrome/test/automation/browser_proxy.h View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/test/automation/browser_proxy.cc View 1 2 3 4 chunks +43 lines, -13 lines 0 comments Download
M chrome/test/automation/tab_proxy.h View 1 2 3 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/test/automation/tab_proxy.cc View 1 2 3 2 chunks +34 lines, -5 lines 0 comments Download
M chrome/test/automation/window_proxy.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/test/automation/window_proxy.cc View 1 2 3 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/test/interactive_ui/npapi_interactive_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/memory_test/memory_test.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/page_cycler/page_cycler_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/plugin/plugin_test.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/reliability/page_load_test.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/selenium/selenium_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/startup/feature_startup_test.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/tab_switching/tab_switching_test.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/ui/dom_checker_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/inspector_controller_uitest.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/ui/layout_plugin_uitest.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M chrome/test/ui/npapi_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/omnibox_uitest.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/ui/sunspider_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/ui_test.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 3 12 chunks +19 lines, -13 lines 0 comments Download
M chrome/test/ui/v8_benchmark_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/url_fetch_test/url_fetch_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/worker/worker_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
stoyan
11 years, 7 months ago (2009-05-21 20:55:10 UTC) #1
amit
[+cc jam - please take a look at changes to chrome/common/ipc_channel_proxy.cc and inside chrome/test/automation/ ] ...
11 years, 7 months ago (2009-05-21 21:54:55 UTC) #2
stoyan
http://codereview.chromium.org/113722/diff/1090/1091 File chrome/test/automation/automation_handle_tracker.cc (right): http://codereview.chromium.org/113722/diff/1090/1091#newcode51 Line 51: AutoLock lock(map_lock_); PostTask to whom? The thread that ...
11 years, 7 months ago (2009-05-21 22:18:41 UTC) #3
stoyan
ping
11 years, 7 months ago (2009-05-26 21:12:38 UTC) #4
amit
Sorry about delay, I was waiting to see if you got to a resolution about ...
11 years, 7 months ago (2009-05-26 21:27:04 UTC) #5
stoyan
11 years, 7 months ago (2009-05-26 21:40:08 UTC) #6
It is expected that observer "knows" that the call is in background channel
thread, so it should proceed quickly.
Holding the lock while calling OnMessageReceived prevents adding/removing
observers from the main thread for the period of the callback.

Powered by Google App Engine
This is Rietveld 408576698