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

Side by Side Diff: chrome/browser/geolocation/core_location_data_provider_mac.h

Issue 6037016: Fix incorrect assertion following the move of Geolocation provider in to its own thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/geolocation/core_location_data_provider_mac.mm » ('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 // This file declares a CoreLocation data provider class that allows the 5 // This file declares a CoreLocation data provider class that allows the
6 // CoreLocation framework to run on the UI thread, since the Geolocation API's 6 // CoreLocation framework to run on the UI thread, since the Geolocation API's
7 // providers all live on the IO thread 7 // providers all live on the IO thread
8 8
9 #ifndef CHROME_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_ 9 #ifndef CHROME_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_
10 #define CHROME_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_ 10 #define CHROME_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_
(...skipping 29 matching lines...) Expand all
40 // These must execute in BrowserThread::UI 40 // These must execute in BrowserThread::UI
41 void StartUpdatingTask(); 41 void StartUpdatingTask();
42 void StopUpdatingTask(); 42 void StopUpdatingTask();
43 // This must execute in the origin thread (IO thread) 43 // This must execute in the origin thread (IO thread)
44 void PositionUpdated(Geoposition position); 44 void PositionUpdated(Geoposition position);
45 45
46 // The wrapper class that supplies this class with position data 46 // The wrapper class that supplies this class with position data
47 scoped_nsobject<CoreLocationWrapperMac> wrapper_; 47 scoped_nsobject<CoreLocationWrapperMac> wrapper_;
48 // The LocationProviderBase class that should receive position data 48 // The LocationProviderBase class that should receive position data
49 CoreLocationProviderMac* provider_; 49 CoreLocationProviderMac* provider_;
50 BrowserThread::ID origin_thread_id_;
51 }; 50 };
52 51
53 #endif 52 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/geolocation/core_location_data_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698