Commit 9a20398a authored by Jimmy Gong's avatar Jimmy Gong Committed by Commit Bot

Disable deleteAllPrintJobs

- Will be implemented once a policy is created to gate this
  capability.

Bug: 1087942
Change-Id: I0887004a8ecb237a93feb877e47a79feba9266af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220876
Commit-Queue: jimmy gong <jimmyxgong@chromium.org>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: default avatarBailey Berro <baileyberro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773290}
parent d3117248
......@@ -31,7 +31,8 @@ void PrintingManager::GetPrintJobs(GetPrintJobsCallback callback) {
}
void PrintingManager::DeleteAllPrintJobs(DeleteAllPrintJobsCallback callback) {
print_job_history_service_->DeleteAllPrintJobs(std::move(callback));
// TODO(crbug/1053704): This is a NO-OP, implement when policy is available.
std::move(callback).Run(/*success=*/true);
}
void PrintingManager::OnPrintJobsRetrieved(
......
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