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

Issue 2374003003: MemoryCoordinatorClient's destructor should be protected-virtual (Closed)

Created:
4 years, 2 months ago by bashi
Modified:
4 years, 2 months ago
Reviewers:
hajimehoshi, dcheng
CC:
chromium-reviews, gavinp+memory_chromium.org, Ryan Sleevi
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MemoryCoordinatorClient's destructor should be protected-virtual A public destructor on a pure-virtual interface is a signal that any consumer of that interface is free to deallocate the structure. That's not required of the API of MemoryCoordinatorClient. By making the constructor protected-virtual, we are signaling that the API contract of the MemoryCoordinatorClient makes no requirements on the implementation. BUG=639700 Committed: https://crrev.com/8b5c3660468238feee6e9b2fa38690d2e34e86f7 Cr-Commit-Position: refs/heads/master@{#421736}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M base/memory/memory_coordinator_client.h View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
bashi
dcheng@: could you review this as an owner of base/ ? This is suggested in ...
4 years, 2 months ago (2016-09-29 02:31:43 UTC) #4
dcheng
lgtm
4 years, 2 months ago (2016-09-29 02:36:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2374003003/1
4 years, 2 months ago (2016-09-29 03:27:12 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-29 03:41:04 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8b5c3660468238feee6e9b2fa38690d2e34e86f7 Cr-Commit-Position: refs/heads/master@{#421736}
4 years, 2 months ago (2016-09-29 03:43:39 UTC) #12
hajimehoshi
4 years, 2 months ago (2016-09-29 04:19:25 UTC) #13
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698