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

Unified Diff: ios/chrome/browser/voice/speech_input_locale_config_impl.mm

Issue 2894623004: [ObjC ARC] Converts ios/chrome/browser/voice:voice to ARC. (Closed)
Patch Set: Removed curly braces. Created 3 years, 7 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/voice/speech_input_locale_config_impl.mm
diff --git a/ios/chrome/browser/voice/speech_input_locale_config_impl.mm b/ios/chrome/browser/voice/speech_input_locale_config_impl.mm
index 4cee9e507434303b379577dc5545d5bac652546f..6a83c23edb70acdedd0f79e7a1c6a7d3733435b9 100644
--- a/ios/chrome/browser/voice/speech_input_locale_config_impl.mm
+++ b/ios/chrome/browser/voice/speech_input_locale_config_impl.mm
@@ -16,6 +16,10 @@
#include "ios/public/provider/chrome/browser/voice/voice_search_language.h"
#include "ios/public/provider/chrome/browser/voice/voice_search_provider.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// Returns the language portion of |locale_code|.
« no previous file with comments | « ios/chrome/browser/voice/speech_input_locale_config.mm ('k') | ios/chrome/browser/voice/speech_input_locale_match_config.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698