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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors.

Created:
5 years ago by Jeffrey Yasskin
Modified:
4 years, 9 months ago
Reviewers:
danakj, Nico
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, nasko+codewatch_chromium.org, scheib+watch_chromium.org, tracing+reviews_chromium.org, kinuko+watch, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, jkarlin+watch_chromium.org, chromium-apps-reviews_chromium.org, blink-worker-reviews_chromium.org, michaeln, creis+watch_chromium.org, jsbell+serviceworker_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, tdanderson+views_chromium.org, nhiroki, rjkroege, wfh+watch_chromium.org, serviceworker-reviews, shuchen+watch_chromium.org, kinuko+serviceworker, tfarina, horo+watch_chromium.org, cc-bugs_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix classes that have too many virtuals for inline constructors. BUG=565523 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Patch Set 2 : More fixes, some of which need DISALLOW_COPY. #

Patch Set 3 : Finish fixing chrome and content_shell. #

Patch Set 4 : Finish fixing the codebase that's accessible from Linux. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -34 lines) Patch
M ash/shell_observer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface_client.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M cc/test/fake_output_surface_client.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/fake_proxy.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_proxy.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/property_tree.h View 2 chunks +4 lines, -0 lines 2 comments Download
M cc/trees/property_tree.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client_parts.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h View 1 2 21 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc View 1 2 18 chunks +63 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.h View 1 2 13 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 1 2 12 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/extensions/install_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/pepper_flash_settings_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/test_browser_window.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/drive/dummy_file_system.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/dummy_file_system.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/history/core/browser/history_service_observer.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/mus/public/cpp/window_observer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/ws/server_window_observer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/test_runner/mock_web_speech_recognizer.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/test_runner/mock_web_speech_recognizer.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/test_runner/test_runner.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/translate/content/browser/browser_cld_data_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M components/translate/content/browser/browser_cld_data_provider.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_storage.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_child_process_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_main_parts.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/browser_main_parts.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/browser_plugin_guest_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_plugin_guest_delegate.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/tracing_controller.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter.h View 1 chunk +3 lines, -0 lines 0 comments Download
M device/nfc/nfc_adapter.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/api/socket/socket_api.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/api/socket/socket_api.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/extension_registry_observer.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/dispatcher_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A + extensions/renderer/dispatcher_delegate.cc View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M google_apis/gaia/gaia_auth_consumer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_test_channel_listener.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_test_channel_listener.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/blink/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/media_blink.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/mock_webframeclient.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
A + media/blink/mock_webframeclient.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_connection.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/balsa/balsa_frame.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M net/tools/balsa/balsa_frame.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/flip_server/mem_cache.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/flip_server/mem_cache.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/host_status_observer.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M remoting/test/remote_connection_observer.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M ui/app_list/app_list_model_observer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/search_result_observer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_context_stub_with_extensions.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_context_stub_with_extensions.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/message_center_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_separator.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/menu/menu_separator_views.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/widget_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/core/image_grid.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/wm/core/image_grid.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
tfarina
no skia? I'm getting ../../skia/config/sk_ref_cnt_ext_debug.h:17:3: error: [chromium-style] Complex constructor has an inlined body. SkRefCnt() : ...
5 years ago (2015-12-04 20:30:27 UTC) #2
Jeffrey Yasskin
Yeah, the patch isn't complete yet. On Fri, Dec 4, 2015 at 12:30 PM, <tfarina@chromium.org> ...
5 years ago (2015-12-04 21:05:38 UTC) #3
Jeffrey Yasskin
Here's a patch that fixes ninja-with-no-arguments on my linux box. There are probably a couple ...
5 years ago (2015-12-10 04:57:41 UTC) #7
danakj
https://codereview.chromium.org/1499793003/diff/100001/cc/trees/property_tree.h File cc/trees/property_tree.h (right): https://codereview.chromium.org/1499793003/diff/100001/cc/trees/property_tree.h#newcode462 cc/trees/property_tree.h:462: ClipTree(); Can you explain why this change? The base ...
5 years ago (2015-12-10 19:35:58 UTC) #9
Jeffrey Yasskin
https://codereview.chromium.org/1499793003/diff/100001/cc/trees/property_tree.h File cc/trees/property_tree.h (right): https://codereview.chromium.org/1499793003/diff/100001/cc/trees/property_tree.h#newcode462 cc/trees/property_tree.h:462: ClipTree(); On 2015/12/10 19:35:58, danakj (behind on reviews) wrote: ...
5 years ago (2015-12-10 20:28:59 UTC) #10
danakj
I see, thanks. Well cc/ LGTM :)
5 years ago (2015-12-10 21:02:19 UTC) #11
danakj
poke, what's next to do here?
4 years, 9 months ago (2016-03-14 20:37:59 UTC) #12
Jeffrey Yasskin
4 years, 9 months ago (2016-03-14 21:17:18 UTC) #13
On 2016/03/14 20:37:59, danakj wrote:
> poke, what's next to do here?

This is waiting on https://codereview.chromium.org/1493813003.

Powered by Google App Engine
This is Rietveld 408576698