| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/geolocation/location_provider.h" | 5 #include "content/browser/geolocation/location_provider.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 LocationProviderBase::LocationProviderBase() { | 9 LocationProviderBase::LocationProviderBase() { |
| 10 } | 10 } |
| 11 | 11 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 void LocationProviderBase::UpdateListeners() { | 50 void LocationProviderBase::UpdateListeners() { |
| 51 DCHECK(CalledOnValidThread()); | 51 DCHECK(CalledOnValidThread()); |
| 52 for (ListenerMap::const_iterator iter = listeners_.begin(); | 52 for (ListenerMap::const_iterator iter = listeners_.begin(); |
| 53 iter != listeners_.end(); | 53 iter != listeners_.end(); |
| 54 ++iter) { | 54 ++iter) { |
| 55 iter->first->LocationUpdateAvailable(this); | 55 iter->first->LocationUpdateAvailable(this); |
| 56 } | 56 } |
| 57 } | 57 } |
| 58 | 58 |
| 59 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN) | 59 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN) && !defined OS
_ANDROID |
| 60 LocationProviderBase* NewSystemLocationProvider() { | 60 LocationProviderBase* NewSystemLocationProvider() { |
| 61 return NULL; | 61 return NULL; |
| 62 } | 62 } |
| 63 #endif | 63 #endif |
| OLD | NEW |