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

Unified Diff: ios/chrome/app/tests_fake_hook.mm

Issue 2557613004: [ios] Adds test hooks to enable/disable functionality while testing. (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/app/BUILD.gn ('k') | ios/chrome/app/tests_hook.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/tests_fake_hook.mm
diff --git a/ios/chrome/app/tests_fake_hook.mm b/ios/chrome/app/tests_fake_hook.mm
new file mode 100644
index 0000000000000000000000000000000000000000..e4031757e6bb62564029e424a42e3431e44c1a93
--- /dev/null
+++ b/ios/chrome/app/tests_fake_hook.mm
@@ -0,0 +1,24 @@
+// Copyright 2016 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.
+
+#import "ios/chrome/app/tests_hook.h"
+
+namespace tests_hook {
+
+bool DisableContextualSearch() {
+ return false;
+}
+bool DisableFirstRun() {
+ return false;
+}
+bool DisableSigninRecallPromo() {
+ return false;
+}
+bool DisableUpdateService() {
+ return false;
+}
+void SetUpTestsIfPresent() {}
+void RunTestsIfPresent() {}
+
+} // namespace tests_hook
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/app/tests_hook.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698