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

Unified Diff: ios/chrome/browser/ui/browser_otr_state.mm

Issue 2569713002: [ObjC ARC] Converts ios/chrome/browser/ui:ui to ARC. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ios/chrome/browser/ui/background_generator.mm ('k') | ios/chrome/browser/ui/favicon_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_otr_state.mm
diff --git a/ios/chrome/browser/ui/browser_otr_state.mm b/ios/chrome/browser/ui/browser_otr_state.mm
index 38bff329897890741ba31cf5d42f3720a690d675..9431105c121484e4b71cf54cb52f12ebbcdb01e3 100644
--- a/ios/chrome/browser/ui/browser_otr_state.mm
+++ b/ios/chrome/browser/ui/browser_otr_state.mm
@@ -6,6 +6,10 @@
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
bool IsOffTheRecordSessionActive() {
ios::ChromeBrowserProvider* chrome_browser_provider =
ios::GetChromeBrowserProvider();
« no previous file with comments | « ios/chrome/browser/ui/background_generator.mm ('k') | ios/chrome/browser/ui/favicon_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698