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

Unified Diff: remoting/host/setup/host_starter.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/host_starter.h
diff --git a/remoting/host/setup/host_starter.h b/remoting/host/setup/host_starter.h
index 8ea93c4700a09fd94910507eb6ac452180fa9a31..5ebfbbfa8d1990ebb4d8d4313c0712de4bd7fd9d 100644
--- a/remoting/host/setup/host_starter.h
+++ b/remoting/host/setup/host_starter.h
@@ -77,7 +77,9 @@ class HostStarter : public gaia::GaiaOAuthClient::Delegate,
void StartHostProcess();
- void OnHostStarted(DaemonController::AsyncResult result);
+ void OnStartHostSucceeded();
+ void OnStartHostFailed(const std::string& error_message,
+ const tracked_objects::Location& location);
scoped_ptr<gaia::GaiaOAuthClient> oauth_client_;
scoped_ptr<remoting::ServiceClient> service_client_;

Powered by Google App Engine
This is Rietveld 408576698