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

Side by Side Diff: ios/chrome/app/tests_fake_hook.mm

Issue 2891853002: [ObjC ARC] Converts ios/chrome/app:tests_fake_hook 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/app/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 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 #import "ios/chrome/app/tests_hook.h" 5 #import "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 false; 14 return false;
11 } 15 }
12 bool DisableFirstRun() { 16 bool DisableFirstRun() {
13 return false; 17 return false;
14 } 18 }
15 bool DisableGeolocation() { 19 bool DisableGeolocation() {
16 return false; 20 return false;
17 } 21 }
18 bool DisableSigninRecallPromo() { 22 bool DisableSigninRecallPromo() {
19 return false; 23 return false;
20 } 24 }
21 bool DisableUpdateService() { 25 bool DisableUpdateService() {
22 return false; 26 return false;
23 } 27 }
24 void SetUpTestsIfPresent() {} 28 void SetUpTestsIfPresent() {}
25 void RunTestsIfPresent() {} 29 void RunTestsIfPresent() {}
26 30
27 } // namespace tests_hook 31 } // namespace tests_hook
OLDNEW
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698