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

Issue 2104193002: Geolocation: Extract GeolocationProvider::Delegate into GeolocationDelegate (no new code) (Closed)

Created:
4 years, 5 months ago by mcasas
Modified:
4 years, 5 months ago
Reviewers:
jam
CC:
Michael van Ouwerkerk, lethalantidote_chromium.org. chromium-reviews, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, mlamouri+watch-geolocation_chromium.org, lcwu+watch_chromium.org, jam, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, khushalsagar+watch-blimp_chromium.org, halliwell+watch_chromium.org, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org, lethalantidote+watch-blimp_chromium.org, Peter Beverloo, alokp+watch_chromium.org, jochen+watch_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Geolocation: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -97 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M blimp/engine/app/blimp_content_browser_client.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M blimp/engine/app/blimp_content_browser_client.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/geolocation/geolocation_provider_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/geolocation/geolocation_provider_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/geolocation/location_arbitrator_impl.h View 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/geolocation/location_arbitrator_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/geolocation/location_arbitrator_impl_unittest.cc View 9 chunks +16 lines, -15 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 3 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A content/public/browser/geolocation_delegate.h View 1 chunk +38 lines, -0 lines 0 comments Download
A + content/public/browser/geolocation_delegate.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M content/public/browser/geolocation_provider.h View 2 chunks +0 lines, -25 lines 0 comments Download
D content/public/browser/geolocation_provider.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
mcasas
jam@ follow up to this morning's CL (mvanouwerkerk@, lethalantidote@ FYI).
4 years, 5 months ago (2016-06-28 23:41:30 UTC) #6
jam
lgtm https://codereview.chromium.org/2104193002/diff/80001/content/browser/geolocation/geolocation_delegate.cc File content/browser/geolocation/geolocation_delegate.cc (right): https://codereview.chromium.org/2104193002/diff/80001/content/browser/geolocation/geolocation_delegate.cc#newcode1 content/browser/geolocation/geolocation_delegate.cc:1: // Copyright 2016 The Chromium Authors. All rights ...
4 years, 5 months ago (2016-06-29 17:08:08 UTC) #7
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/2104193002/100001
4 years, 5 months ago (2016-06-29 19:04:08 UTC) #10
mcasas
https://codereview.chromium.org/2104193002/diff/80001/content/browser/geolocation/geolocation_delegate.cc File content/browser/geolocation/geolocation_delegate.cc (right): https://codereview.chromium.org/2104193002/diff/80001/content/browser/geolocation/geolocation_delegate.cc#newcode1 content/browser/geolocation/geolocation_delegate.cc:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 5 months ago (2016-06-29 19:04:45 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 5 months ago (2016-06-29 19:44:25 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 19:45:23 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 19:46:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b05e977fa72205d2b7d8da7b8c82be063d02db98
Cr-Commit-Position: refs/heads/master@{#402904}

Powered by Google App Engine
This is Rietveld 408576698