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

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

Issue 2505933009: [ObjC ARC] Converts ios/chrome/browser/voice:tts to ARC.Automatically generated ARCMigrate commit… (Closed)
Patch Set: make_unique Created 4 years, 1 month 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/voice/text_to_speech_parser.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/voice/voice_search_url_rewriter.mm
diff --git a/ios/chrome/browser/voice/voice_search_url_rewriter.mm b/ios/chrome/browser/voice/voice_search_url_rewriter.mm
index 688757477d62d99151c187c6634be509a392232c..b7bdcbedf7ea5468d5267dc7688ccb2482e6dfc1 100644
--- a/ios/chrome/browser/voice/voice_search_url_rewriter.mm
+++ b/ios/chrome/browser/voice/voice_search_url_rewriter.mm
@@ -16,6 +16,10 @@
#include "net/base/url_util.h"
#include "url/gurl.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
bool VoiceSearchURLRewriter(GURL* url, web::BrowserState* browser_state) {
if (!google_util::IsGoogleSearchUrl(*url))
return false;
« no previous file with comments | « ios/chrome/browser/voice/text_to_speech_parser.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698