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

Side by Side Diff: ios/web/shell/test/app/navigation_test_util.mm

Issue 2446893004: [ObjC ARC] Converts ios/web/shell/test to ARC. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/web/shell/test/app/navigation_test_util.h" 5 #include "ios/web/shell/test/app/navigation_test_util.h"
6 6
7 #import "ios/web/public/test/navigation_test_util.h" 7 #import "ios/web/public/test/navigation_test_util.h"
8 #import "ios/web/shell/test/app/web_shell_test_util.h" 8 #import "ios/web/shell/test/app/web_shell_test_util.h"
9 9
10 #if !defined(__has_feature) || !__has_feature(objc_arc)
11 #error "This file requires ARC support."
12 #endif
13
10 namespace web { 14 namespace web {
11 namespace shell_test_util { 15 namespace shell_test_util {
12 16
13 void LoadUrl(const GURL& url) { 17 void LoadUrl(const GURL& url) {
14 web::test::LoadUrl(GetCurrentWebState(), url); 18 web::test::LoadUrl(GetCurrentWebState(), url);
15 } 19 }
16 20
17 bool IsLoading() { 21 bool IsLoading() {
18 return GetCurrentWebState()->IsLoading(); 22 return GetCurrentWebState()->IsLoading();
19 } 23 }
20 24
21 } // namespace shell_test_util 25 } // namespace shell_test_util
22 } // namespace web 26 } // namespace web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698