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

Unified Diff: ios/chrome/test/earl_grey/eg_tests_hook.mm

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/test/earl_grey/device_check_egtest.mm ('k') | ios/chrome/test/earl_grey/shell_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ios/chrome/test/earl_grey/device_check_egtest.mm ('k') | ios/chrome/test/earl_grey/shell_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698