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

Side by Side Diff: content/browser/geolocation/location_provider.cc

Issue 10209003: Upstream Android Geolocation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix license year (->2012) Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/geolocation/location_api_adapter_android.cc ('k') | content/browser/geolocation/location_provider_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698