| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_H | 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_H | 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_PROVIDER_H_ |
| 7 | 7 |
| 8 #import <CoreLocation/CoreLocation.h> | 8 #import <CoreLocation/CoreLocation.h> |
| 9 #import <Foundation/Foundation.h> | 9 #import <Foundation/Foundation.h> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 | 12 |
| 13 // GeolocationUpdater tracks the current location of the user and sends | 13 // GeolocationUpdater tracks the current location of the user and sends |
| 14 // NSNotifications when it changes. | 14 // NSNotifications when it changes. |
| 15 // The notification names and keys can be obtained using | 15 // The notification names and keys can be obtained using |
| 16 // GeolocationUpdaterProvider. | 16 // GeolocationUpdaterProvider. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Key used in the userInfo dictionaries of this class' notifications. | 80 // Key used in the userInfo dictionaries of this class' notifications. |
| 81 // Contains a |CLLocation *| and is used in the update notification. | 81 // Contains a |CLLocation *| and is used in the update notification. |
| 82 virtual NSString* GetUpdateNewLocationKey(); | 82 virtual NSString* GetUpdateNewLocationKey(); |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 DISALLOW_COPY_AND_ASSIGN(GeolocationUpdaterProvider); | 85 DISALLOW_COPY_AND_ASSIGN(GeolocationUpdaterProvider); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace ios | 88 } // namespace ios |
| 89 | 89 |
| 90 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_H | 90 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_GEOLOCATION_UPDATER_PROVIDER_H_ |
| OLD | NEW |