| Index: remoting/host/simple_host_process.cc
|
| diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
|
| index bd8385f4db26748ccfdcc2549b0d4fe74116dd71..7bdb7fb346e717ba6772344716d323d8d839a60d 100644
|
| --- a/remoting/host/simple_host_process.cc
|
| +++ b/remoting/host/simple_host_process.cc
|
| @@ -32,6 +32,7 @@
|
| #include "base/threading/thread.h"
|
| #include "crypto/nss_util.h"
|
| #include "media/base/media.h"
|
| +#include "remoting/base/constants.h"
|
| #include "remoting/base/tracer.h"
|
| #include "remoting/host/capturer_fake.h"
|
| #include "remoting/host/chromoting_host.h"
|
| @@ -52,6 +53,8 @@
|
|
|
| using remoting::ChromotingHost;
|
| using remoting::DesktopEnvironment;
|
| +using remoting::kChromotingTokenDefaultServiceName;
|
| +using remoting::kXmppAuthServiceConfigPath;
|
| using remoting::protocol::CandidateSessionConfig;
|
| using remoting::protocol::ChannelConfig;
|
| using std::string;
|
| @@ -122,6 +125,13 @@ class SimpleHost {
|
| return 1;
|
| }
|
|
|
| + // For the simple host, we assume we always use the ClientLogin token for
|
| + // chromiumsync because we do not have an HTTP stack with which we can
|
| + // easily request an OAuth2 access token even if we had a RefreshToken for
|
| + // the account.
|
| + config->SetString(kXmppAuthServiceConfigPath,
|
| + kChromotingTokenDefaultServiceName);
|
| +
|
| // Initialize AccessVerifier.
|
| // TODO(jamiewalch): For the Me2Mom case, the access verifier is passed to
|
| // RegisterSupportHostRequest::Init, so transferring ownership of it to the
|
|
|