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

Unified Diff: components/translate/ios/browser/js_language_detection_manager.mm

Issue 2645603002: [ObjC ARC] Converts components/translate/ios/browser:browser to ARC. (Closed)
Patch Set: Removed include Created 3 years, 11 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: components/translate/ios/browser/js_language_detection_manager.mm
diff --git a/components/translate/ios/browser/js_language_detection_manager.mm b/components/translate/ios/browser/js_language_detection_manager.mm
index aa3384754ecda415f9f325399b622ac77794e0f3..822b896959b88b203dc193fc1c23870a77a58363 100644
--- a/components/translate/ios/browser/js_language_detection_manager.mm
+++ b/components/translate/ios/browser/js_language_detection_manager.mm
@@ -5,10 +5,13 @@
#import "components/translate/ios/browser/js_language_detection_manager.h"
#include "base/callback.h"
-#include "base/mac/scoped_nsobject.h"
#include "base/strings/string_util.h"
#include "base/strings/sys_string_conversions.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace language_detection {
// Note: This should stay in sync with the constant in language_detection.js.
const size_t kMaxIndexChars = 65535;
« no previous file with comments | « components/translate/ios/browser/ios_translate_driver.mm ('k') | components/translate/ios/browser/js_translate_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698