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

Issue 2610933002: GCM: Make InstanceIDHandler implementations use protected inheritance (Closed)

Created:
3 years, 11 months ago by johnme
Modified:
3 years, 11 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, Peter Beverloo, johnme+watch_chromium.org, zea+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GCM: Make InstanceIDHandler implementations use protected inheritance This avoids accidental layering violations, by enforcing use of GCMDriver::GetInstanceIDHandlerInternal (which is commented as "These methods must only be used by the InstanceID system") to get access to InstanceIDHandlers. BUG=none Committed: https://crrev.com/8a2e23085bff76b06f35f83e38260a1ce39d6e58 Cr-Commit-Position: refs/heads/master@{#441425}

Patch Set 1 #

Total comments: 2

Patch Set 2 : s/implementation/overrides/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M components/gcm_driver/gcm_driver_desktop.h View 1 chunk +1 line, -1 line 0 comments Download
M components/gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h View 1 3 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
johnme
3 years, 11 months ago (2017-01-04 17:15:35 UTC) #2
Peter Beverloo
lgtm % comment Despite that, I'm not a fan of these changes. It's not exactly ...
3 years, 11 months ago (2017-01-04 17:47:38 UTC) #3
johnme
> It's not exactly a foot gun I was reviewing a patch just today accidentally ...
3 years, 11 months ago (2017-01-04 18:12:38 UTC) #4
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/2610933002/20001
3 years, 11 months ago (2017-01-04 18:12:58 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 19:11:49 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 19:15:21 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8a2e23085bff76b06f35f83e38260a1ce39d6e58
Cr-Commit-Position: refs/heads/master@{#441425}

Powered by Google App Engine
This is Rietveld 408576698