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

Side by Side Diff: remoting/host/setup/host_starter.h

Issue 18460003: Move url_request_context from remoting/host/ to remoting/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 unified diff | Download patch
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_HOST_STARTER 5 #ifndef REMOTING_HOST_HOST_STARTER
6 #define REMOTING_HOST_HOST_STARTER 6 #define REMOTING_HOST_HOST_STARTER
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "google_apis/gaia/gaia_oauth_client.h" 11 #include "google_apis/gaia/gaia_oauth_client.h"
12 #include "remoting/base/rsa_key_pair.h" 12 #include "remoting/base/rsa_key_pair.h"
13 #include "remoting/base/url_request_context.h"
13 #include "remoting/host/service_client.h" 14 #include "remoting/host/service_client.h"
14 #include "remoting/host/setup/daemon_controller.h" 15 #include "remoting/host/setup/daemon_controller.h"
15 #include "remoting/host/url_request_context.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 // A helper class that registers and starts a host. 19 // A helper class that registers and starts a host.
20 class HostStarter : public gaia::GaiaOAuthClient::Delegate, 20 class HostStarter : public gaia::GaiaOAuthClient::Delegate,
21 public remoting::ServiceClient::Delegate { 21 public remoting::ServiceClient::Delegate {
22 public: 22 public:
23 enum Result { 23 enum Result {
24 START_COMPLETE, 24 START_COMPLETE,
25 NETWORK_ERROR, 25 NETWORK_ERROR,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 base::WeakPtrFactory<HostStarter> weak_ptr_factory_; 90 base::WeakPtrFactory<HostStarter> weak_ptr_factory_;
91 base::WeakPtr<HostStarter> weak_ptr_; 91 base::WeakPtr<HostStarter> weak_ptr_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(HostStarter); 93 DISALLOW_COPY_AND_ASSIGN(HostStarter);
94 }; 94 };
95 95
96 } // namespace remoting 96 } // namespace remoting
97 97
98 #endif // REMOTING_HOST_HOST_STARTER 98 #endif // REMOTING_HOST_HOST_STARTER
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698