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

Unified Diff: ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm

Issue 2936833002: [ObjC ARC] Converts ios/chrome/browser/ui:unit_tests to ARC. (Closed)
Patch Set: Fix bad ARC guard. 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
Index: ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm
diff --git a/ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm b/ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm
index 297bdcf505a408d164d5a70e812a761a6b6ca7a8..4601bdc5d2b368e1fd2ff07436f9edfdc7448c1e 100644
--- a/ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm
+++ b/ios/chrome/browser/ui/network_activity_indicator_manager_unittest.mm
@@ -6,10 +6,13 @@
#import <UIKit/UIKit.h>
-#include "base/mac/scoped_nsobject.h"
#include "testing/gtest_mac.h"
#include "testing/platform_test.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
NSString* const kNetworkActivityKeyOne =
@@ -38,7 +41,7 @@ class NetworkActivityIndicatorManagerTest : public PlatformTest {
isNetworkActivityIndicatorVisible]);
}
}
- base::scoped_nsobject<NetworkActivityIndicatorManager> manager_;
+ NetworkActivityIndicatorManager* manager_;
};
TEST_F(NetworkActivityIndicatorManagerTest, TestNumNetworkTasksForGroup) {
« no previous file with comments | « ios/chrome/browser/ui/native_content_controller_unittest.mm ('k') | ios/chrome/browser/ui/open_in_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698