| OLD | NEW |
| 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 |
| OLD | NEW |