Index: ios/chrome/test/earl_grey/eg_tests_hook.mm |
diff --git a/ios/chrome/test/earl_grey/eg_tests_hook.mm b/ios/chrome/test/earl_grey/eg_tests_hook.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71ad274463b11375ad057b1430f6a458521e815c |
--- /dev/null |
+++ b/ios/chrome/test/earl_grey/eg_tests_hook.mm |
@@ -0,0 +1,33 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ios/chrome/app/tests_hook.h" |
+ |
+namespace tests_hook { |
+ |
+bool DisableContextualSearch() { |
+ return true; |
+} |
+ |
+bool DisableFirstRun() { |
+ return true; |
+} |
+ |
+bool DisableSigninRecallPromo() { |
+ return true; |
+} |
+ |
+bool DisableUpdateService() { |
+ return true; |
+} |
+ |
+void SetUpTestsIfPresent() { |
+ // No-op for Earl Grey. |
+} |
+ |
+void RunTestsIfPresent() { |
+ // No-op for Earl Grey. |
+} |
+ |
+} // namespace tests_hook |