blob: 1c8f3e11240c146e7bdddac1585128ab4ba17227 [file] [log] [blame]
// Copyright 2021 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"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace tests_hook {
bool DisableAppGroupAccess() {
return true;
}
bool DisableContentSuggestions() {
return true;
}
bool DisableDiscoverFeed() {
return true;
}
bool DisableFirstRun() {
return true;
}
bool DisableGeolocation() {
return true;
}
bool DisableSigninRecallPromo() {
return true;
}
bool DisableUpdateService() {
return true;
}
bool DisableMainThreadFreezeDetection() {
return true;
}
policy::ConfigurationPolicyProvider* GetOverriddenPlatformPolicyProvider() {
return nullptr;
}
void SetUpTestsIfPresent() {
// No-op for XCUITest.
}
void RunTestsIfPresent() {
// No-op for XCUITest.
}
} // namespace tests_hook