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

Unified Diff: ios/public/provider/chrome/browser/geolocation_updater_provider.h

Issue 2239773002: Annotates functions returning retained objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ios/public/provider/chrome/browser/geolocation_updater_provider.h
diff --git a/ios/public/provider/chrome/browser/geolocation_updater_provider.h b/ios/public/provider/chrome/browser/geolocation_updater_provider.h
index 6a03f793c8c622489e3602691918146f8eb500d1..eb037ba5716f694e762445369945ed38cb282b59 100644
--- a/ios/public/provider/chrome/browser/geolocation_updater_provider.h
+++ b/ios/public/provider/chrome/browser/geolocation_updater_provider.h
@@ -57,7 +57,8 @@ class GeolocationUpdaterProvider {
// Creates a new GeolocationUpdater.
// The returned object is retained and it is the responsability of the caller
// to release it.
- virtual id<GeolocationUpdater> CreateGeolocationUpdater(bool enabled);
+ virtual id<GeolocationUpdater> CreateGeolocationUpdater(bool enabled)
+ NS_RETURNS_RETAINED;
// Notification names:

Powered by Google App Engine
This is Rietveld 408576698