Chromium Code Reviews
DescriptionGeolocation: Extract GeolocationProvider::Delegate into GeolocationDelegate (no new code)
This CL extracts GeolocationProvider::Delegate into
GeolocationDelegate, and adjust call/use sites. The
implementation is moved to content internals and to
a file on its own. No new code is added, this CL just
shoves code around.
Following up on https://codereview.chromium.org/2098553002/#msg33 :
> nit: I realize this is moving to device/. I would encourage you to make this to
> be a separate header (i.e. geolocation_delegate.) for two reasons:
> 1) it can be overridden and forward declared without including the this header
> 2) once you move this to device/geolocation, there's no more need for an
> interface/impl split of GeolocationProvider since it's out of content. so more
> stuff will move to this parent class.
BUG=612334
Committed: https://crrev.com/b05e977fa72205d2b7d8da7b8c82be063d02db98
Cr-Commit-Position: refs/heads/master@{#402904}
Patch Set 1 : #Patch Set 2 : Forward declare content::GeolocationDelegate in BlimpCBClient, and add its .h to the .cc #
Total comments: 2
Patch Set 3 : jam@ nit: content/browser/geolocation/geolocation_delegate.cc --> content/public/browser #Messages
Total messages: 16 (9 generated)
|