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

Unified Diff: ios/chrome/test/app/histogram_test_util.mm

Issue 2888173002: [ObjC ARC] Converts ios/chrome/test/app:test_support to ARC. (Closed)
Patch Set: tighten deps exclusion Created 3 years, 6 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/test/app/chrome_test_util.mm ('k') | ios/chrome/test/app/history_test_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/app/histogram_test_util.mm
diff --git a/ios/chrome/test/app/histogram_test_util.mm b/ios/chrome/test/app/histogram_test_util.mm
index 000415e11365b90a73ee4b554299b27b7b82be72..ac5e62e7fbac3bc41b58463d8e120143e70d3c9d 100644
--- a/ios/chrome/test/app/histogram_test_util.mm
+++ b/ios/chrome/test/app/histogram_test_util.mm
@@ -14,6 +14,10 @@
#include "base/metrics/statistics_recorder.h"
#include "base/stl_util.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
base::HistogramBase* FindHistogram(const std::string& name,
FailureBlock failure_block) {
« no previous file with comments | « ios/chrome/test/app/chrome_test_util.mm ('k') | ios/chrome/test/app/history_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698