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

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

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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_
7
8 #include "components/chrome_cleaner/public/interfaces/chrome_prompt.mojom.h"
9 #include "mojo/public/cpp/bindings/binding.h"
10
11 namespace safe_browsing {
12
13 // Implementation of the ChromePrompt Mojo interface.
14 class ChromePromptImpl : public chrome_cleaner::mojom::ChromePrompt {
15 public:
16 explicit ChromePromptImpl(chrome_cleaner::mojom::ChromePromptRequest request);
17 ~ChromePromptImpl() override;
18
19 void PromptUser(
20 std::vector<chrome_cleaner::mojom::UwSPtr> removable_uws_found,
21 bool elevation_required,
22 const chrome_cleaner::mojom::ChromePrompt::PromptUserCallback& callback)
23 override;
24
25 private:
26 mojo::Binding<chrome_cleaner::mojom::ChromePrompt> binding_;
27 };
28
29 } // namespace safe_browsing
30
31 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/DEPS ('k') | chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698