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

Unified Diff: ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.mm

Issue 2685863005: [ObjC ARC] Converts ios/chrome/browser/ui/settings/utils:utils to ARC. (Closed)
Patch Set: Created 3 years, 10 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/ui/settings/utils/content_setting_backed_boolean.mm
diff --git a/ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.mm b/ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.mm
index 7a553096d69bc0cbedf5556f248823d94346cec2..6b4a0c7c410d556fa075d9992bcbc5da11a5db46 100644
--- a/ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.mm
+++ b/ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.mm
@@ -4,7 +4,6 @@
#import "ios/chrome/browser/ui/settings/utils/content_setting_backed_boolean.h"
-#import "base/ios/weak_nsobject.h"
#include "base/scoped_observer.h"
#include "components/content_settings/core/browser/content_settings_details.h"
#include "components/content_settings/core/browser/content_settings_observer.h"
@@ -12,6 +11,10 @@
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@interface ContentSettingBackedBoolean ()
// The ID of the setting in |settingsMap|.
« no previous file with comments | « ios/chrome/browser/ui/settings/utils/BUILD.gn ('k') | ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698