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

Issue 12086018: GTTF: Add missing virtual destructors. (Closed)

Created:
7 years, 10 months ago by Paweł Hajdan Jr.
Modified:
7 years, 10 months ago
CC:
chromium-reviews, MAD, jam, sadrul, dhollowa+watch_chromium.org, rpetterson, ahutter, browser-components-watch_chromium.org, dcheng, Dmitry Titov, ajwong+watch_chromium.org, markusheintz_, Ilya Sherman, cbentzel+watch_chromium.org, benquan, ben+watch_chromium.org, benjhayden+dwatch_chromium.org, achuith+watch_chromium.org, dbeam+watch-autofill_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, Avi (use Gerrit), jennb, creis+watch_chromium.org, dyu1, rouslan+spellwatch_chromium.org, jianli, feature-media-reviews_chromium.org, pam+watch_chromium.org, Albert Bodenhamer, Raman Kakilate, sail+watch_chromium.org, Aaron Boodman, Dane Wallinga, rdsmith+dwatch_chromium.org, estade+watch_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

GTTF: Add missing virtual destructors. R=jar TBR=darin,satorux,fischman,jamesr,sky BUG=45135 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180669

Patch Set 1 #

Patch Set 2 : fixes #

Total comments: 11

Patch Set 3 : protected -> public #

Total comments: 4

Patch Set 4 : fix & rebase #

Total comments: 5

Patch Set 5 : rebase & protected #

Patch Set 6 : trybots #

Patch Set 7 : trybots 2 #

Patch Set 8 : trybots 3 #

Patch Set 9 : trybots 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -15 lines) Patch
M ash/wm/system_modal_container_event_filter_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/debug/trace_event_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/prefs/pref_observer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M base/prefs/public/pref_change_registrar.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M base/prefs/public/pref_member.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M base/threading/post_task_and_reply_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_animation_event_observer.h View 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M cc/picture_layer_impl.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/picture_layer_tiling.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/rate_limiter.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/video_frame_provider.h View 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/certificate_manager_model.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/download/download_danger_prompt.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/activity_log.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/entry_picker.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/page_capture/page_capture_api.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/event_router.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_keybinding_registry.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_scoped_prefs.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_warning_service.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/auth_service_interface.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/managed_mode/managed_mode_url_filter.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/metrics/variations/resource_request_allowed_notifier.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/user_info_fetcher.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/signin/about_signin_internals.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_internals_util.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_tracker.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/base_window.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/avatar_menu_item_gtk.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/display_settings_provider.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_destination_observer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/utility/content_utility_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M dbus/property.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_glue.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_pipelined_connection.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_pipelined_host.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_pipelined_host_forced.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_pipelined_host_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_pipelined_host_pool.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Paweł Hajdan Jr.
7 years, 10 months ago (2013-01-28 14:18:22 UTC) #1
jar (doing other things)
When adding a destructor (when there was none), why did you make it protected? Isn't ...
7 years, 10 months ago (2013-01-28 17:02:57 UTC) #2
jamesr
https://codereview.chromium.org/12086018/diff/3002/cc/layer_tree_host_impl.h File cc/layer_tree_host_impl.h (right): https://codereview.chromium.org/12086018/diff/3002/cc/layer_tree_host_impl.h#newcode65 cc/layer_tree_host_impl.h:65: virtual ~LayerTreeHostImplClient() { }; no ; https://codereview.chromium.org/12086018/diff/3002/cc/rate_limiter.h File cc/rate_limiter.h ...
7 years, 10 months ago (2013-01-28 19:20:43 UTC) #3
Paweł Hajdan Jr.
If you're fine with the "protected" usage, can I get a conditional stamp about the ...
7 years, 10 months ago (2013-01-28 19:55:48 UTC) #4
jamesr
https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h File cc/render_pass_sink.h (right): https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h#newcode19 cc/render_pass_sink.h:19: virtual ~RenderPassSink() { } On 2013/01/28 19:55:49, Paweł Hajdan ...
7 years, 10 months ago (2013-01-28 20:13:45 UTC) #5
Paweł Hajdan Jr.
https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h File cc/render_pass_sink.h (right): https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h#newcode19 cc/render_pass_sink.h:19: virtual ~RenderPassSink() { } On 2013/01/28 20:13:46, jamesr wrote: ...
7 years, 10 months ago (2013-01-29 09:40:22 UTC) #6
jar (doing other things)
Although you may be able to argue in some special cases "protected" makes sense, when ...
7 years, 10 months ago (2013-01-29 17:58:22 UTC) #7
jamesr
https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h File cc/render_pass_sink.h (right): https://codereview.chromium.org/12086018/diff/3002/cc/render_pass_sink.h#newcode19 cc/render_pass_sink.h:19: virtual ~RenderPassSink() { } On 2013/01/29 09:40:22, Paweł Hajdan ...
7 years, 10 months ago (2013-01-29 18:52:20 UTC) #8
Paweł Hajdan Jr.
PTAL https://codereview.chromium.org/12086018/diff/3002/cc/layer_tree_host_impl.h File cc/layer_tree_host_impl.h (right): https://codereview.chromium.org/12086018/diff/3002/cc/layer_tree_host_impl.h#newcode65 cc/layer_tree_host_impl.h:65: virtual ~LayerTreeHostImplClient() { }; On 2013/01/28 19:20:43, jamesr ...
7 years, 10 months ago (2013-01-30 10:00:27 UTC) #9
jar (doing other things)
LGTM with nits below for patch 2 in base and net https://codereview.chromium.org/12086018/diff/102/cc/picture_layer_tiling.h File cc/picture_layer_tiling.h (right): ...
7 years, 10 months ago (2013-02-01 03:41:07 UTC) #10
Paweł Hajdan Jr.
https://codereview.chromium.org/12086018/diff/102/cc/picture_layer_tiling.h File cc/picture_layer_tiling.h (right): https://codereview.chromium.org/12086018/diff/102/cc/picture_layer_tiling.h#newcode30 cc/picture_layer_tiling.h:30: PictureLayerTiling* tiling, On 2013/02/01 03:41:07, jar wrote: > You ...
7 years, 10 months ago (2013-02-01 10:12:42 UTC) #11
jamesr
The interfaces I've looked at should all be protected. I would not change interfaces that ...
7 years, 10 months ago (2013-02-01 19:30:04 UTC) #12
jar (doing other things)
I'm fine with changes to protected destructors where JamesR has spent the time looking closely, ...
7 years, 10 months ago (2013-02-01 20:05:55 UTC) #13
Paweł Hajdan Jr.
TBR Trivial changes, feel free to take a look at your areas. I'm happy to ...
7 years, 10 months ago (2013-02-05 10:30:35 UTC) #14
jamesr
On 2013/02/05 10:30:35, Paweł Hajdan Jr. wrote: > TBR > > Trivial changes, feel free ...
7 years, 10 months ago (2013-02-05 21:33:55 UTC) #15
Paweł Hajdan Jr.
On 2013/02/05 21:33:55, jamesr wrote: > I don't think it's a good idea to change ...
7 years, 10 months ago (2013-02-06 18:16:49 UTC) #16
satorux1
7 years, 10 months ago (2013-02-06 22:33:23 UTC) #17
Message was sent while issue was closed.
On 2013/02/06 18:16:49, Paweł Hajdan Jr. wrote:
> On 2013/02/05 21:33:55, jamesr wrote:
> > I don't think it's a good idea to change the interfaces for other people's
> > classes without letting them look at the change.  The cc/ ones look good,
but
> > they didn't in the first patch.  TBR should be used for build fixes and
things
> > of that nature, not to skip reviews.
> 
> 1. This is now reverted anyway - https://codereview.chromium.org/12224027/
> 
> 2. My understanding of http://www.chromium.org/developers/owners-files, and
> especially "For widespread or refactoring changes that are mechanical or
global
> in nature, it is acceptable to TBR the OWNERS required for submission, as long
> as your changes have had the appropriate level of review or general approval."
> is that it's fine here - I got review from Jim, and the change is pretty much
> global and mechanical.

I don't feel strongly about this patch, but I'm rather concerned about TBR for
global cleanup patches in general (on the contrary I love these patches, but
just TBR is a concern) because these patches could make it hard to merge
important fixes to release branches.

FWIW, I expressed the same concern in the past in a similar occasion:

> https://codereview.chromium.org/12018035/
> 
> It's not always safe to submit clean up patches, especially after a release
> branch is cut,  as these patches could make it difficult to merge important
> fixes to the branch. It's safer to get code review from owners in the standard
> way than doing TBR.

Powered by Google App Engine
This is Rietveld 408576698