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

Issue 7892007: Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH to profile (Closed)

Created:
9 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 3 months ago
Reviewers:
jam, Paweł Hajdan Jr.
CC:
chromium-reviews, Avi (use Gerrit), dpranke+watch-content_chromium.org, Erik does not do reviews, brettw-cc_chromium.org, jam, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, davemoore+watch_chromium.org, stevenjb, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH to profile BUG=90443 TEST=everything still works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101037

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Total comments: 2

Patch Set 4 : updates #

Total comments: 12

Patch Set 5 : updates #

Patch Set 6 : fix mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -228 lines) Patch
M chrome/browser/autocomplete_history_manager_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings_unittest.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_webnavigation_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc View 1 3 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/notifications/notification_exceptions_table_model_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_manager_unittest.cc View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/malware_details_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service_browsertest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 2 3 4 3 chunks +5 lines, -16 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model_unittest.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/balloon_controller_unittest.mm View 1 2 3 4 5 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/sad_tab_controller_unittest.mm View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/web_drop_target_unittest.mm View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/find_bar/find_backend_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_internals_ui_unittest.cc View 7 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/web_ui_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/visitedlink/visitedlink_unittest.cc View 1 2 3 4 5 chunks +10 lines, -15 lines 0 comments Download
M chrome/browser/web_applications/web_app_unittest.cc View 1 2 3 4 1 chunk +1 line, -17 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 3 chunks +2 lines, -10 lines 0 comments Download
A chrome/test/base/chrome_render_view_host_test_harness.h View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/test/base/chrome_render_view_host_test_harness.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M content/browser/browser_context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 3 chunks +10 lines, -6 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 5 chunks +12 lines, -11 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager_unittest.cc View 1 2 8 chunks +16 lines, -16 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jochen (gone - plz use gerrit)
plz review With this CL it should be possible to move more tests from unit_tests ...
9 years, 3 months ago (2011-09-13 14:33:12 UTC) #1
jam
lgtm http://codereview.chromium.org/7892007/diff/1003/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc File chrome/browser/content_settings/tab_specific_content_settings_unittest.cc (right): http://codereview.chromium.org/7892007/diff/1003/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc#newcode16 chrome/browser/content_settings/tab_specific_content_settings_unittest.cc:16: : ChromeRenderViewHostTestHarness(), nit: not really needed http://codereview.chromium.org/7892007/diff/1003/chrome/browser/password_manager/password_manager_unittest.cc File ...
9 years, 3 months ago (2011-09-13 18:04:03 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/7892007/diff/4001/chrome/browser/tab_contents/web_contents_unittest.cc File chrome/browser/tab_contents/web_contents_unittest.cc (right): http://codereview.chromium.org/7892007/diff/4001/chrome/browser/tab_contents/web_contents_unittest.cc#newcode175 chrome/browser/tab_contents/web_contents_unittest.cc:175: : ChromeRenderViewHostTestHarness(), nit: How about removing this? http://codereview.chromium.org/7892007/diff/4001/chrome/browser/tab_contents/web_contents_unittest.cc#newcode184 chrome/browser/tab_contents/web_contents_unittest.cc:184: ...
9 years, 3 months ago (2011-09-13 19:16:36 UTC) #3
jochen (gone - plz use gerrit)
I've addressed all other comments http://codereview.chromium.org/7892007/diff/4001/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc File chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc (right): http://codereview.chromium.org/7892007/diff/4001/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc#newcode32 chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc:32: if (!browser_context_.get()) On 2011/09/13 ...
9 years, 3 months ago (2011-09-13 19:39:35 UTC) #4
Paweł Hajdan Jr.
9 years, 3 months ago (2011-09-13 19:41:09 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698