OLD | NEW |
---|---|
(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 <vector> | |
grt (UTC plus 2)
2017/03/29 13:01:42
not needed since the only use of std::vector is to
ftirelo
2017/03/30 22:13:51
Done.
| |
9 | |
10 #include "mojo/public/cpp/bindings/binding.h" | |
11 #include "third_party/pipa/chrome_cleaner/public/interfaces/chrome_prompt.mojom. h" | |
12 | |
13 namespace safe_browsing { | |
14 | |
15 // Implementation of the ChromePrompt Mojo interface. | |
16 class ChromePromptImpl : public chrome_cleaner::mojom::ChromePrompt { | |
17 public: | |
18 explicit ChromePromptImpl(chrome_cleaner::mojom::ChromePromptRequest request); | |
19 ~ChromePromptImpl() override = default; | |
20 | |
21 void PromptUser( | |
22 std::vector<chrome_cleaner::mojom::UwSPtr> removable_uws_found, | |
23 bool elevation_required, | |
24 const chrome_cleaner::mojom::ChromePrompt::PromptUserCallback& callback) | |
25 override; | |
26 | |
27 private: | |
28 mojo::Binding<chrome_cleaner::mojom::ChromePrompt> binding_; | |
29 }; | |
30 | |
31 } // namespace safe_browsing | |
32 | |
33 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_ | |
OLD | NEW |