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

Unified Diff: chrome/browser/safe_browsing/srt_chrome_prompt_impl.h

Issue 2834613003: Adds error handling support for the SwReporter launcher. (Closed)
Patch Set: Really? 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/srt_chrome_prompt_impl.h
diff --git a/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h
index bf14b30ff80655a3d21a277e5e7072eeae42b919..6027044bd97103f4bce2a6dc11bb2b76fd991418 100644
--- a/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h
+++ b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_
#define CHROME_BROWSER_SAFE_BROWSING_SRT_CHROME_PROMPT_IMPL_H_
+#include "base/callback.h"
+#include "base/macros.h"
#include "components/chrome_cleaner/public/interfaces/chrome_prompt.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -13,7 +15,8 @@ namespace safe_browsing {
// Implementation of the ChromePrompt Mojo interface.
class ChromePromptImpl : public chrome_cleaner::mojom::ChromePrompt {
public:
- explicit ChromePromptImpl(chrome_cleaner::mojom::ChromePromptRequest request);
+ ChromePromptImpl(chrome_cleaner::mojom::ChromePromptRequest request,
+ base::Closure on_connection_closed);
~ChromePromptImpl() override;
void PromptUser(
@@ -24,6 +27,8 @@ class ChromePromptImpl : public chrome_cleaner::mojom::ChromePrompt {
private:
mojo::Binding<chrome_cleaner::mojom::ChromePrompt> binding_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromePromptImpl);
};
} // namespace safe_browsing
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698