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

Unified Diff: ios/public/provider/chrome/browser/chrome_browser_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/chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/chrome_browser_provider.h b/ios/public/provider/chrome/browser/chrome_browser_provider.h
index 27ed5e195f30e5410fe5066c97fa77473f4c6dfc..271cf814954b5b726f445f8648c350816ff65423 100644
--- a/ios/public/provider/chrome/browser/chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/chrome_browser_provider.h
@@ -6,6 +6,7 @@
#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
#include <CoreGraphics/CoreGraphics.h>
+#import <Foundation/Foundation.h>
#include <stddef.h>
#include <memory>
@@ -76,7 +77,7 @@ class ChromeBrowserProvider {
// object is retained.
virtual InfoBarViewPlaceholder CreateInfoBarView(
CGRect frame,
- InfoBarViewDelegate* delegate);
+ InfoBarViewDelegate* delegate) NS_RETURNS_RETAINED;
// Returns an instance of a signin resources provider.
virtual SigninResourcesProvider* GetSigninResourcesProvider();
// Returns an instance of a Chrome identity service.

Powered by Google App Engine
This is Rietveld 408576698