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

Unified Diff: ios/chrome/browser/geolocation/location_manager.h

Issue 2528003002: [ObjC ARC] Converts ios/chrome/browser/geolocation:geolocation to ARC.Automatically generated ARC… (Closed)
Patch Set: comments, cleanup Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/geolocation/location_manager.h
diff --git a/ios/chrome/browser/geolocation/location_manager.h b/ios/chrome/browser/geolocation/location_manager.h
index 1af7b5cb64fbc750c2589d21f53c5be09266e62c..a8a12adb2336f53192401c020219461c91c10ccd 100644
--- a/ios/chrome/browser/geolocation/location_manager.h
+++ b/ios/chrome/browser/geolocation/location_manager.h
@@ -29,10 +29,10 @@
@property(nonatomic, readonly) CLAuthorizationStatus authorizationStatus;
// Returns the most recently fetched location.
-@property(nonatomic, readonly) CLLocation* currentLocation;
+@property(strong, nonatomic, readonly) CLLocation* currentLocation;
// The delegate object for this instance of LocationManager.
-@property(nonatomic, assign) id<LocationManagerDelegate> delegate;
+@property(weak, nonatomic) id<LocationManagerDelegate> delegate;
// Boolean value indicating whether location services are enabled on the
// device. This proxies |[CLLocationManager locationServicesEnabled]|, so that
« no previous file with comments | « ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm ('k') | ios/chrome/browser/geolocation/location_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698