blob: 38bb6015efc851f563ca2bece0c69110a7fda174 [file] [log] [blame]
// Copyright 2017 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 "chrome/browser/safe_browsing/srt_chrome_prompt_impl.h"
#include "base/logging.h"
namespace safe_browsing {
using chrome_cleaner::mojom::ChromePrompt;
using chrome_cleaner::mojom::ChromePromptRequest;
using chrome_cleaner::mojom::ElevationStatus;
using chrome_cleaner::mojom::PromptAcceptance;
using chrome_cleaner::mojom::UwSPtr;
ChromePromptImpl::ChromePromptImpl(ChromePromptRequest request)
: binding_(this, std::move(request)) {}
ChromePromptImpl::~ChromePromptImpl() {}
void ChromePromptImpl::PromptUser(
std::vector<UwSPtr> removable_uws_found,
ElevationStatus elevation_status,
const ChromePrompt::PromptUserCallback& callback) {
// Placeholder. The actual implementation will show the prompt dialog to the
// user and invoke this callback depending on the user's response.
callback.Run(PromptAcceptance::DENIED);
}
} // namespace safe_browsing