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

Side by Side Diff: ios/chrome/test/earl_grey/eg_tests_hook.mm

Issue 2885453004: [ObjC ARC] Converts ios/chrome/test/earl_grey:hooks to ARC. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/test/earl_grey/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chrome/app/tests_hook.h" 5 #include "ios/chrome/app/tests_hook.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 namespace tests_hook { 11 namespace tests_hook {
8 12
9 bool DisableContextualSearch() { 13 bool DisableContextualSearch() {
10 return true; 14 return true;
11 } 15 }
12 16
13 bool DisableFirstRun() { 17 bool DisableFirstRun() {
14 return true; 18 return true;
15 } 19 }
16 20
(...skipping 11 matching lines...) Expand all
28 32
29 void SetUpTestsIfPresent() { 33 void SetUpTestsIfPresent() {
30 // No-op for Earl Grey. 34 // No-op for Earl Grey.
31 } 35 }
32 36
33 void RunTestsIfPresent() { 37 void RunTestsIfPresent() {
34 // No-op for Earl Grey. 38 // No-op for Earl Grey.
35 } 39 }
36 40
37 } // namespace tests_hook 41 } // namespace tests_hook
OLDNEW
« no previous file with comments | « ios/chrome/test/earl_grey/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698