| OLD | NEW |
| 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 | 5 |
| 6 #ifndef CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ | 6 #ifndef CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ |
| 7 #define CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ | 7 #define CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ |
| 8 | 8 |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/task.h" | 10 #include "base/task.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void ScheduleNextPoll(int interval); | 37 void ScheduleNextPoll(int interval); |
| 38 | 38 |
| 39 scoped_ptr<Win7LocationApi> api_; | 39 scoped_ptr<Win7LocationApi> api_; |
| 40 Geoposition position_; | 40 Geoposition position_; |
| 41 // Holder for the tasks which run on the thread; takes care of cleanup. | 41 // Holder for the tasks which run on the thread; takes care of cleanup. |
| 42 ScopedRunnableMethodFactory<Win7LocationProvider> task_factory_; | 42 ScopedRunnableMethodFactory<Win7LocationProvider> task_factory_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ | 46 #endif // CHROME_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_ |
| OLD | NEW |