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