/external/chromium_org/chrome/test/chromedriver/chrome/ |
geolocation_override_manager_unittest.cc | 11 #include "chrome/test/chromedriver/chrome/geoposition.h" 57 const Geoposition& geoposition) { 63 ASSERT_EQ(geoposition.latitude, latitude); 64 ASSERT_EQ(geoposition.longitude, longitude); 65 ASSERT_EQ(geoposition.accuracy, accuracy); 73 Geoposition geoposition = {1, 2, 3}; local 74 manager.OverrideGeolocation(geoposition); 77 AssertGeolocationCommand(client.commands_[0], geoposition)); 92 Geoposition geoposition = {1, 2, 3}; local 110 Geoposition geoposition = {1, 2, 3}; local [all...] |
geolocation_override_manager.h | 20 struct Geoposition; 30 Status OverrideGeolocation(const Geoposition& geoposition); 42 scoped_ptr<Geoposition> overridden_geoposition_;
|
geolocation_override_manager.cc | 9 #include "chrome/test/chromedriver/chrome/geoposition.h" 21 const Geoposition& geoposition) { 22 overridden_geoposition_.reset(new Geoposition(geoposition));
|
geoposition.h | 8 struct Geoposition {
|
/external/chromium_org/content/browser/geolocation/ |
location_provider_android.h | 10 #include "content/public/common/geoposition.h" 14 struct Geoposition; 23 void NotifyNewGeoposition(const Geoposition& position); 28 virtual void GetPosition(Geoposition* position) OVERRIDE; 33 Geoposition last_position_;
|
location_provider_android.cc | 9 #include "content/public/common/geoposition.h" 22 const Geoposition& position) { 35 void LocationProviderAndroid::GetPosition(Geoposition* position) {
|
geolocation_provider_impl.h | 17 #include "content/public/common/geoposition.h" 33 virtual void OverrideLocationForTesting(const Geoposition& position) OVERRIDE; 36 void OnLocationUpdate(const Geoposition& position); 75 void NotifyClients(const Geoposition& position); 81 base::CallbackList<void(const Geoposition&)> high_accuracy_callbacks_; 82 base::CallbackList<void(const Geoposition&)> low_accuracy_callbacks_; 85 Geoposition position_;
|
location_api_adapter_android.cc | 94 const Geoposition& geoposition) { 98 GetInstance()->location_provider_->NotifyNewGeoposition(geoposition); 109 Geoposition position; 127 Geoposition position_error; 128 position_error.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE; 153 const Geoposition& geoposition) { 161 geoposition));
|
location_arbitrator_impl.h | 16 #include "content/public/common/geoposition.h" 37 typedef base::Callback<void(const Geoposition&)> LocationUpdateCallback; 75 const Geoposition& new_position); 80 bool IsNewPositionBetter(const Geoposition& old_position, 81 const Geoposition& new_position, 93 Geoposition position_;
|
geolocation_provider_unittest.cc | 54 virtual void OnLocationUpdate(const Geoposition& position) = 0; 59 MOCK_METHOD1(OnLocationUpdate, void(const Geoposition& position)); 64 virtual void OnLocationUpdate(const Geoposition& position) OVERRIDE { 72 MOCK_METHOD1(Callback, void(const Geoposition& position)); 76 : public MatcherInterface<const Geoposition&> { 78 explicit GeopositionEqMatcher(const Geoposition& expected) 81 virtual bool MatchAndExplain(const Geoposition& actual, 104 Geoposition expected_; 109 Matcher<const Geoposition&> GeopositionEq(const Geoposition& expected) [all...] |
mock_location_provider.h | 13 #include "content/public/common/geoposition.h" 26 void HandlePositionChanged(const Geoposition& position); 31 virtual void GetPosition(Geoposition* position) OVERRIDE; 34 Geoposition position_;
|
geolocation_dispatcher_host.cc | 18 #include "content/public/common/geoposition.h" 24 // Geoposition error codes for reporting in UMA. 36 // Geoposition could not be determined. 46 void RecordGeopositionErrorCode(Geoposition::ErrorCode error_code) { 49 case Geoposition::ERROR_CODE_NONE: 52 case Geoposition::ERROR_CODE_PERMISSION_DENIED: 55 case Geoposition::ERROR_CODE_POSITION_UNAVAILABLE: 58 case Geoposition::ERROR_CODE_TIMEOUT: 124 const Geoposition& geoposition) { [all...] |
location_api_adapter_android.h | 17 struct Geoposition; 64 void OnNewGeopositionInternal(const Geoposition& geoposition); 67 static void NotifyProviderNewGeoposition(const Geoposition& geoposition);
|
network_location_provider.h | 22 #include "content/public/common/geoposition.h" 46 const Geoposition& position); 51 const Geoposition* FindPosition(const WifiData& wifi_data); 62 typedef std::map<base::string16, Geoposition> CacheMap; 77 virtual void GetPosition(Geoposition *position) OVERRIDE; 93 void LocationResponseAvailable(const Geoposition& position, 117 Geoposition position_;
|
location_arbitrator_impl_unittest.cc | 10 #include "content/public/common/geoposition.h" 24 last_position_.error_code = Geoposition::ERROR_CODE_NONE; 28 void OnLocationUpdate(const Geoposition& position) { 32 Geoposition last_position_; 49 Geoposition position; 50 position.error_code = Geoposition::ERROR_CODE_NONE; 127 Geoposition geoposition = observer_->last_position_; local 128 EXPECT_TRUE(geoposition.Validate()); 129 EXPECT_DOUBLE_EQ(latitude, geoposition.latitude) [all...] |
/external/chromium_org/content/common/ |
geolocation_messages.h | 8 #include "content/public/common/geoposition.h" 14 IPC_ENUM_TRAITS_MAX_VALUE(content::Geoposition::ErrorCode, 15 content::Geoposition::ERROR_CODE_LAST) 17 IPC_STRUCT_TRAITS_BEGIN(content::Geoposition) 41 content::Geoposition /* geoposition */) 60 // with the updated geoposition, or an error (access denied, location
|
/external/chromium_org/content/renderer/ |
geolocation_dispatcher.cc | 119 const Geoposition& geoposition) { 125 if (geoposition.Validate()) { 128 geoposition.timestamp.ToDoubleT(), 129 geoposition.latitude, geoposition.longitude, 130 geoposition.accuracy, 132 geoposition.altitude > -10000., 133 geoposition.altitude, 134 geoposition.altitude_accuracy >= 0. [all...] |
/external/chromium_org/chrome/browser/chromeos/geolocation/ |
geoposition.cc | 5 #include "chrome/browser/chromeos/geolocation/geoposition.h" 19 Geoposition::Geoposition() 27 bool Geoposition::Valid() const { 33 std::string Geoposition::ToString() const {
|
simple_geolocation_provider.cc | 12 #include "chrome/browser/chromeos/geolocation/geoposition.h" 60 const Geoposition& geoposition, 65 callback.Run(geoposition, server_error, elapsed);
|
geoposition.h | 15 // Based on content/public/common/geoposition.h . 16 struct Geoposition { 30 Geoposition();
|
/external/chromium_org/content/public/common/ |
geoposition.cc | 5 #include "content/public/common/geoposition.h" 21 Geoposition::Geoposition() 32 bool Geoposition::Validate() const {
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
Geoposition.h | 36 class Geoposition : public GarbageCollectedFinalized<Geoposition>, public ScriptWrappable { 38 static Geoposition* create(Coordinates* coordinates, DOMTimeStamp timestamp) 40 return new Geoposition(coordinates, timestamp); 52 Geoposition(Coordinates* coordinates, DOMTimeStamp timestamp)
|
/external/chromium_org/content/public/browser/ |
location_provider.h | 10 #include "content/public/common/geoposition.h" 21 typedef base::Callback<void(const LocationProvider*, const Geoposition&)> 24 // This callback will be used to notify when a new Geoposition becomes 43 virtual void GetPosition(Geoposition* position) = 0;
|
/external/chromium_org/chrome/browser/extensions/api/location/ |
location_manager.cc | 16 #include "content/public/common/geoposition.h" 39 virtual bool ShouldSendUpdate(const content::Geoposition&) const = 0; 42 virtual void OnPositionReported(const content::Geoposition&) = 0; 60 virtual bool ShouldSendUpdate(const content::Geoposition& position) const 70 virtual void OnPositionReported(const content::Geoposition& position) 107 content::Geoposition last_updated_position_; 120 virtual bool ShouldSendUpdate(const content::Geoposition&) const OVERRIDE { 125 virtual void OnPositionReported(const content::Geoposition&) OVERRIDE { 156 void OnLocationUpdate(const content::Geoposition& position); 160 bool ShouldSendUpdate(const content::Geoposition& position) [all...] |
/external/chromium_org/chrome/browser/chromeos/timezone/ |
timezone_request.h | 15 #include "chrome/browser/chromeos/geolocation/geoposition.h" 52 // Takes Geoposition and sends it to a server to get local timezone information. 70 // |geoposition| is the location to query timezone for. 75 const Geoposition& geoposition, 108 Geoposition geoposition_;
|