Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc

Issue 2780873002: Basic IPC communication between Chrome and the SW Reporter. (Closed)
Patch Set: RefCounted subclasses can't have public destructors Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/safe_browsing/srt_chrome_prompt_impl.h"
6
7 #include "base/logging.h"
8
9 namespace safe_browsing {
10
11 using chrome_cleaner::mojom::ChromePrompt;
12 using chrome_cleaner::mojom::ChromePromptRequest;
13 using chrome_cleaner::mojom::PromptAcceptance;
14 using chrome_cleaner::mojom::UwSPtr;
15
16 ChromePromptImpl::ChromePromptImpl(ChromePromptRequest request)
17 : binding_(this, std::move(request)) {}
18
19 ChromePromptImpl::~ChromePromptImpl() {}
20
21 void ChromePromptImpl::PromptUser(
22 std::vector<UwSPtr> removable_uws_found,
23 bool elevation_required,
24 const ChromePrompt::PromptUserCallback& callback) {
25 // Placeholder. The actual implementation will show the prompt dialog to the
26 // user and invoke this callback depending on the user's response.
27 callback.Run(PromptAcceptance::DENIED);
28 }
29
30 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/srt_chrome_prompt_impl.h ('k') | chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698