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

Unified Diff: ios/chrome/browser/sessions/NSCoder+Compatibility.mm

Issue 2808773004: [ios] Change WebStateList serialization method to use SessionWindowIOS. (Closed)
Patch Set: Rename //ios/chrome/browser/sessions:session_window_ios target. Created 3 years, 8 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
« no previous file with comments | « ios/chrome/browser/sessions/BUILD.gn ('k') | ios/chrome/browser/sessions/session_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sessions/NSCoder+Compatibility.mm
diff --git a/ios/chrome/browser/sessions/NSCoder+Compatibility.mm b/ios/chrome/browser/sessions/NSCoder+Compatibility.mm
index 4308759f57a0ed371cb7387e73157eab0500648a..af01e0da6a114928caa38e98374f2b9ff3abcc71 100644
--- a/ios/chrome/browser/sessions/NSCoder+Compatibility.mm
+++ b/ios/chrome/browser/sessions/NSCoder+Compatibility.mm
@@ -6,6 +6,10 @@
#include "base/logging.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// Note: |NSNotFound| is equal to |NSIntegerMax| in 32-bit and 64-bit that
// in turn is initialized to |LONG_MAX|. On a 32-bit build, |INT_MAX| and
« no previous file with comments | « ios/chrome/browser/sessions/BUILD.gn ('k') | ios/chrome/browser/sessions/session_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698