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

Unified Diff: remoting/host/setup/daemon_controller_delegate_linux.h

Issue 1272833002: Pass error messages from native messaging to web-app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. Created 5 years, 4 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
Index: remoting/host/setup/daemon_controller_delegate_linux.h
diff --git a/remoting/host/setup/daemon_controller_delegate_linux.h b/remoting/host/setup/daemon_controller_delegate_linux.h
index 91eef1a2af5f0616bbb0e2f623009db4ebf03ff9..0a9d8d6eada35913ace9315a91c92544de26350b 100644
--- a/remoting/host/setup/daemon_controller_delegate_linux.h
+++ b/remoting/host/setup/daemon_controller_delegate_linux.h
@@ -21,10 +21,15 @@ class DaemonControllerDelegateLinux : public DaemonController::Delegate {
void SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,
- const DaemonController::CompletionCallback& done) override;
- void UpdateConfig(scoped_ptr<base::DictionaryValue> config,
- const DaemonController::CompletionCallback& done) override;
- void Stop(const DaemonController::CompletionCallback& done) override;
+ const base::Closure& on_done,
+ const DaemonController::ErrorCallback& on_error) override;
+ void UpdateConfig(
+ scoped_ptr<base::DictionaryValue> config,
+ const base::Closure& on_done,
+ const DaemonController::ErrorCallback& on_error) override;
+ void Stop(
+ const base::Closure& on_done,
+ const DaemonController::ErrorCallback& on_error) override;
DaemonController::UsageStatsConsent GetUsageStatsConsent() override;
private:

Powered by Google App Engine
This is Rietveld 408576698