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

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

Issue 3092015: Add CoreLocation support to Chrome (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Final rearrangements and merge with trunk Created 10 years, 3 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
« no previous file with comments | « chrome/browser/geolocation/gps_location_provider_linux.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/geolocation/location_provider.h" 5 #include "chrome/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 }
(...skipping 38 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_WIN) 59 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN)
60 LocationProviderBase* NewSystemLocationProvider() { 60 LocationProviderBase* NewSystemLocationProvider() {
61 return NULL; 61 return NULL;
62 } 62 }
63 #endif 63 #endif
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/gps_location_provider_linux.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698