Commit 93880c88 authored by Sorin Jianu's avatar Sorin Jianu Committed by Commit Bot

Revert "Reland "Safety check: add tests for the Chrome cleaner child backend""

This reverts commit f55b2a09.

Reason for revert: This is still breaking the official Chrome builders, for instance: https://ci.chromium.org/p/chrome/builders/ci/win64-trunk

Sorry for the revert of the reland.

Original change's description:
> Reland "Safety check: add tests for the Chrome cleaner child backend"
> 
> This is a reland of 9d1db5b8
> Fixes the missing import and constant.
> 
> Original change's description:
> > Safety check: add tests for the Chrome cleaner child backend
> >
> > * Test that each possible CCT status results in the corresponding
> >   safety check child status and display string.
> > * Test that CCT being enterprise managed is handled correctly.
> >
> > Bug: 1087263
> > Change-Id: I84d93408800cb4fbe8d138578c586a0ae89dbfc9
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249980
> > Reviewed-by: Esmael Elmoslimany <aee@chromium.org>
> > Reviewed-by: Joe Mason <joenotcharles@chromium.org>
> > Commit-Queue: Rainhard Findling <rainhard@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#783942}
> 
> Bug: 1087263
> Change-Id: Iddb785080835e437517c7adba7eacaec20356ca6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279752
> Reviewed-by: Esmael Elmoslimany <aee@chromium.org>
> Reviewed-by: Joe Mason <joenotcharles@chromium.org>
> Commit-Queue: Rainhard Findling <rainhard@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#785664}

TBR=joenotcharles@chromium.org,aee@chromium.org,rainhard@chromium.org

Change-Id: I03883f5f6bdf59d46b725b76e649d5a4c2a7158a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1087263
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285386Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785990}
parent 8b53d4dd
......@@ -281,11 +281,6 @@ void ChromeCleanerControllerImpl::SetStateForTesting(State state) {
idle_reason_ = IdleReason::kInitial;
}
void ChromeCleanerControllerImpl::SetIdleForTesting(IdleReason idle_reason) {
state_ = State::kIdle;
idle_reason_ = idle_reason;
}
// static
void ChromeCleanerControllerImpl::ResetInstanceForTesting() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
......
......@@ -84,7 +84,6 @@ class ChromeCleanerControllerImpl : public ChromeCleanerController {
// Force the current controller's state for tests that check the effect of
// starting and completing reporter runs.
void SetStateForTesting(State state);
void SetIdleForTesting(IdleReason idle_reason);
private:
ChromeCleanerControllerImpl();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment