Index: chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc |
diff --git a/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4e60db0b70fd6f4cdee458574136179f821134a1 |
--- /dev/null |
+++ b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc |
@@ -0,0 +1,30 @@ |
+// 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::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, |
+ bool elevation_required, |
+ 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 |