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

Unified Diff: ios/chrome/browser/signin/gaia_auth_fetcher_ios_private.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/chrome/browser/signin/gaia_auth_fetcher_ios_private.h
diff --git a/ios/chrome/browser/signin/gaia_auth_fetcher_ios_private.h b/ios/chrome/browser/signin/gaia_auth_fetcher_ios_private.h
index 8040e02d0a86395dcba06655f317f206ea9364e9..7eca5b06c9bb82939f033fddb4232f3c7fc71f1d 100644
--- a/ios/chrome/browser/signin/gaia_auth_fetcher_ios_private.h
+++ b/ios/chrome/browser/signin/gaia_auth_fetcher_ios_private.h
@@ -84,7 +84,7 @@ class GaiaAuthFetcherIOSBridge : web::ActiveStateManager::Observer {
// Can return nil if the browser state is not active.
WKWebView* GetWKWebView();
// Actually creates a WKWebView. Virtual for testing.
- virtual WKWebView* CreateWKWebView();
+ virtual WKWebView* CreateWKWebView() NS_RETURNS_RETAINED;
// Stops any page loading in the WKWebView currently in use and releases it.
void ResetWKWebView();

Powered by Google App Engine
This is Rietveld 408576698