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

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed)

Created:
10 years, 4 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang, Matt Perry
CC:
chromium-reviews, Paul Godavari, Alpha Left Google, ben+cc_chromium.org, Erik does not do reviews, brettw-cc_chromium.org, jam, apatrick_chromium, Aaron Boodman, fbarchard, pam+watch_chromium.org, awong, Paweł Hajdan Jr., darin-cc_chromium.org, scherkus (not reviewing), John Grabowski, davemoore+watch_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

FBTF: Move individual XXXMsg_Params structs to a new file. The new file, render_messages_params.h, is included in 57 files, while render_messages.h is included in 176 files. Moving the Params structs to their own file allow pruning the included headers. (Part 2 of this cleanup will be sorting the individual structs into themes to further minimize header inclusion.) BUG=51411 TEST=compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57229

Patch Set 1 #

Patch Set 2 : Fix mac/win compile errors + rebase #

Total comments: 1

Patch Set 3 : more win fixes #

Total comments: 4

Patch Set 4 : Dumb me #

Patch Set 5 : More windows stuff #

Patch Set 6 : chromeos compile failures #

Patch Set 7 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2955 lines, -2393 lines) Patch
M chrome/browser/chromeos/notifications/balloon_view_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/notifications/desktop_notifications_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/debugger/debugger_remote_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/debugger/extension_ports_remote_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/device_orientation/dispatcher_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/gpu_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notifications_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/audio_renderer_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/audio_renderer_host_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/search_engines/search_provider_install_state_dispatcher_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/navigation_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/navigation_controller_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/utility_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/worker_host/worker_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/common_param_traits.h View 1 4 chunks +9 lines, -86 lines 0 comments Download
M chrome/common/common_param_traits.cc View 1 2 3 4 5 6 3 chunks +104 lines, -19 lines 0 comments Download
M chrome/common/common_param_traits_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_localization_peer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/gpu_messages.h View 1 2 chunks +5 lines, -33 lines 0 comments Download
M chrome/common/gpu_messages.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/common/gpu_messages_internal.h View 1 chunk +10 lines, -3 lines 0 comments Download
M chrome/common/indexed_db_param_traits.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 16 chunks +55 lines, -2141 lines 0 comments Download
M chrome/common/render_messages.cc View 6 chunks +91 lines, -93 lines 0 comments Download
A chrome/common/render_messages_params.h View 1 1 chunk +1094 lines, -0 lines 0 comments Download
A chrome/common/render_messages_params.cc View 1 1 chunk +1416 lines, -0 lines 0 comments Download
M chrome/common/resource_dispatcher.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/resource_dispatcher_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/utility_messages.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/utility_messages_internal.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/gpu/gpu_backing_store_glx.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/gpu/gpu_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/gpu/gpu_video_decoder.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/gpu/gpu_view_win.cc View 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/audio_message_filter.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/audio_message_filter_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/device_orientation_dispatcher.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/device_orientation_dispatcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/external_extension.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/indexed_db_dispatcher.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/media/audio_renderer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/media/audio_renderer_impl_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/mock_printer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/mock_render_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/notification_provider.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/pepper_devices.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_win.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_view_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_widget.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_pepper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/webworker_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/render_view_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/worker/worker_webkitclient_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 2 chunks +1 line, -8 lines 0 comments Download
A ipc/ipc_param_traits.h View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Elliot Glaysher
Fun fact: with this patch, render_messages.h falls from the worst offender as measured by headersoup ...
10 years, 4 months ago (2010-08-23 20:34:45 UTC) #1
Lei Zhang
Still doesn't compile on Win32 it seems. http://codereview.chromium.org/3119035/diff/2001/3083 File ipc/ipc_param_traits.h (right): http://codereview.chromium.org/3119035/diff/2001/3083#newcode1 ipc/ipc_param_traits.h:1: // Copyright ...
10 years, 4 months ago (2010-08-23 21:01:35 UTC) #2
Elliot Glaysher
On 2010/08/23 21:01:35, Lei Zhang wrote: > Still doesn't compile on Win32 it seems. Of ...
10 years, 4 months ago (2010-08-23 21:05:41 UTC) #3
Elliot Glaysher
Ping. I even have green bots. (wtf!)
10 years, 4 months ago (2010-08-24 17:15:25 UTC) #4
Matt Perry
Doh.. I forgot to publish my comments yesterday. http://codereview.chromium.org/3119035/diff/9001/10037 File chrome/common/common_param_traits.cc (right): http://codereview.chromium.org/3119035/diff/9001/10037#newcode321 chrome/common/common_param_traits.cc:321: // ...
10 years, 4 months ago (2010-08-24 17:46:39 UTC) #5
Elliot Glaysher
TAL http://codereview.chromium.org/3119035/diff/9001/10037 File chrome/common/common_param_traits.cc (right): http://codereview.chromium.org/3119035/diff/9001/10037#newcode321 chrome/common/common_param_traits.cc:321: // private is so we can forward declare ...
10 years, 4 months ago (2010-08-24 19:46:24 UTC) #6
Matt Perry
10 years, 4 months ago (2010-08-24 19:56:07 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698