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

Issue 10316007: Make the Geoposition helper class public (Closed)

Created:
8 years, 7 months ago by bartfab (slow)
Modified:
8 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make the Geoposition helper struct public This CL moves the Geoposition struct from content/common to public/content/common.h so that it can be shared by content and browser. The struct is placed in the |content| namespace and as required by the style guide, all methods except the constructor and Validate() are removed. This paves the way for a follow-up CL in which the content will provide geolocation information to the browser. BUG=chromium-os:18710 TEST=Chrome and tests build, run Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134989

Patch Set 1 #

Patch Set 2 : Comments addressed. #

Total comments: 1

Patch Set 3 : Trying to convince git a move is a move by hacking git_cl.py... #

Patch Set 4 : Trying to convince git a move is a move by hacking depot_tools... #

Patch Set 5 : Fix overlong line. #

Patch Set 6 : Fix forward-declaration of struct as class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -427 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 3 chunks +10 lines, -2 lines 0 comments Download
M content/browser/geolocation/core_location_data_provider_mac.h View 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/geolocation/core_location_data_provider_mac.mm View 5 chunks +11 lines, -8 lines 0 comments Download
M content/browser/geolocation/core_location_provider_mac.h View 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/geolocation/core_location_provider_mac.mm View 1 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/geolocation/geolocation.cc View 1 2 chunks +7 lines, -17 lines 0 comments Download
M content/browser/geolocation/geolocation_dispatcher_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/geolocation/geolocation_observer.h View 3 chunks +4 lines, -2 lines 0 comments Download
M content/browser/geolocation/geolocation_provider.h View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M content/browser/geolocation/geolocation_provider.cc View 1 4 chunks +9 lines, -5 lines 0 comments Download
M content/browser/geolocation/geolocation_provider_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geolocation/gps_location_provider_linux.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/geolocation/gps_location_provider_linux.cc View 1 4 chunks +14 lines, -11 lines 0 comments Download
M content/browser/geolocation/gps_location_provider_unittest_linux.cc View 1 8 chunks +21 lines, -21 lines 0 comments Download
M content/browser/geolocation/libgps_wrapper_linux.h View 4 chunks +6 lines, -3 lines 0 comments Download
M content/browser/geolocation/libgps_wrapper_linux.cc View 1 4 chunks +9 lines, -8 lines 0 comments Download
M content/browser/geolocation/location_arbitrator.h View 4 chunks +4 lines, -6 lines 0 comments Download
M content/browser/geolocation/location_arbitrator.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/geolocation/location_arbitrator_unittest.cc View 1 6 chunks +12 lines, -8 lines 0 comments Download
M content/browser/geolocation/location_provider.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/geolocation/mock_location_provider.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/geolocation/mock_location_provider.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/geolocation/network_location_provider.h View 6 chunks +7 lines, -7 lines 0 comments Download
M content/browser/geolocation/network_location_provider.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/geolocation/network_location_provider_unittest.cc View 1 6 chunks +7 lines, -7 lines 0 comments Download
M content/browser/geolocation/network_location_request.h View 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/geolocation/network_location_request.cc View 1 7 chunks +13 lines, -11 lines 0 comments Download
M content/browser/geolocation/win7_location_api_unittest_win.cc View 1 3 chunks +7 lines, -7 lines 0 comments Download
M content/browser/geolocation/win7_location_api_win.h View 4 chunks +5 lines, -3 lines 0 comments Download
M content/browser/geolocation/win7_location_api_win.cc View 1 3 chunks +10 lines, -9 lines 0 comments Download
M content/browser/geolocation/win7_location_provider_unittest_win.cc View 1 4 chunks +12 lines, -12 lines 0 comments Download
M content/browser/geolocation/win7_location_provider_win.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/geolocation/win7_location_provider_win.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download
M content/common/geolocation_messages.h View 2 chunks +5 lines, -5 lines 0 comments Download
D content/common/geoposition.h View 1 chunk +0 lines, -66 lines 0 comments Download
M content/common/geoposition.cc View 1 1 chunk +0 lines, -66 lines 0 comments Download
M content/content_common.gypi View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/geolocation.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + content/public/common/geoposition.h View 1 2 3 1 chunk +38 lines, -37 lines 0 comments Download
A + content/public/common/geoposition.cc View 1 2 3 3 chunks +10 lines, -37 lines 0 comments Download
M content/renderer/geolocation_dispatcher.h View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/geolocation_dispatcher.cc View 1 2 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bartfab (slow)
Hi John, As discussed, I broke my changes into several CLs. This first one moves ...
8 years, 7 months ago (2012-05-02 14:34:43 UTC) #1
jam
few comments -now that this is public, content/public/browser/geolocation.h should use it -we're strict in the ...
8 years, 7 months ago (2012-05-02 14:55:08 UTC) #2
bartfab (slow)
Hi John, I addressed your comments. The Geolocation struct should not only contain methods explicitly ...
8 years, 7 months ago (2012-05-02 17:27:40 UTC) #3
jam
lgtm with one comment http://codereview.chromium.org/10316007/diff/4001/content/public/common/geoposition.h File content/public/common/geoposition.h (right): http://codereview.chromium.org/10316007/diff/4001/content/public/common/geoposition.h#newcode1 content/public/common/geoposition.h:1: // Copyright (c) 2012 The ...
8 years, 7 months ago (2012-05-02 18:04:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/10316007/10001
8 years, 7 months ago (2012-05-02 18:58:22 UTC) #5
commit-bot: I haz the power
Presubmit check for 10316007-10001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-02 18:58:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/10316007/13001
8 years, 7 months ago (2012-05-02 19:02:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/10316007/13003
8 years, 7 months ago (2012-05-02 19:18:19 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-02 20:48:40 UTC) #9
Change committed as 134989

Powered by Google App Engine
This is Rietveld 408576698