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

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

Issue 11273024: Remove GaiaOauthClient and GaiaUserEmailFetcher from remoting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/setup/host_starter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/host_starter.h
diff --git a/remoting/host/setup/host_starter.h b/remoting/host/setup/host_starter.h
index fa615c4e39edfe1972e7e46ef80ae884560ca877..456befc768ec204d525694be44b57b38f195695f 100644
--- a/remoting/host/setup/host_starter.h
+++ b/remoting/host/setup/host_starter.h
@@ -9,7 +9,6 @@
#include "base/callback.h"
#include "google_apis/gaia/gaia_oauth_client.h"
-#include "remoting/host/gaia_user_email_fetcher.h"
#include "remoting/host/host_key_pair.h"
#include "remoting/host/service_client.h"
#include "remoting/host/setup/daemon_controller.h"
@@ -19,7 +18,6 @@ namespace remoting {
// A helper class that registers and starts a host.
class HostStarter : public gaia::GaiaOAuthClient::Delegate,
- public remoting::GaiaUserEmailFetcher::Delegate,
public remoting::ServiceClient::Delegate {
public:
enum Result {
@@ -53,9 +51,7 @@ class HostStarter : public gaia::GaiaOAuthClient::Delegate,
int expires_in_seconds) OVERRIDE;
virtual void OnRefreshTokenResponse(const std::string& access_token,
int expires_in_seconds) OVERRIDE;
-
- // remoting::GaiaUserEmailFetcher::Delegate
- virtual void OnGetUserEmailResponse(const std::string& user_email) OVERRIDE;
+ virtual void OnGetUserInfoResponse(const std::string& user_email) OVERRIDE;
// remoting::ServiceClient::Delegate
virtual void OnHostRegistered() OVERRIDE;
@@ -69,14 +65,12 @@ class HostStarter : public gaia::GaiaOAuthClient::Delegate,
private:
HostStarter(scoped_ptr<gaia::GaiaOAuthClient> oauth_client,
- scoped_ptr<remoting::GaiaUserEmailFetcher> user_email_fetcher,
scoped_ptr<remoting::ServiceClient> service_client,
scoped_ptr<remoting::DaemonController> daemon_controller);
void OnHostStarted(DaemonController::AsyncResult result);
scoped_ptr<gaia::GaiaOAuthClient> oauth_client_;
- scoped_ptr<remoting::GaiaUserEmailFetcher> user_email_fetcher_;
scoped_ptr<remoting::ServiceClient> service_client_;
scoped_ptr<remoting::DaemonController> daemon_controller_;
gaia::OAuthClientInfo oauth_client_info_;
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/setup/host_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698