| OLD | NEW |
| 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" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 scoped_ptr<gaia::GaiaOAuthClient> oauth_client_; | 72 scoped_ptr<gaia::GaiaOAuthClient> oauth_client_; |
| 73 scoped_ptr<remoting::GaiaUserEmailFetcher> user_email_fetcher_; | 73 scoped_ptr<remoting::GaiaUserEmailFetcher> user_email_fetcher_; |
| 74 scoped_ptr<remoting::ServiceClient> service_client_; | 74 scoped_ptr<remoting::ServiceClient> service_client_; |
| 75 scoped_ptr<remoting::DaemonController> daemon_controller_; | 75 scoped_ptr<remoting::DaemonController> daemon_controller_; |
| 76 bool in_progress_; | 76 bool in_progress_; |
| 77 gaia::OAuthClientInfo oauth_client_info_; | 77 gaia::OAuthClientInfo oauth_client_info_; |
| 78 std::string host_name_; | 78 std::string host_name_; |
| 79 std::string host_pin_; | 79 std::string host_pin_; |
| 80 bool consent_to_data_collection_; | 80 bool consent_to_data_collection_; |
| 81 CompletionCallback on_done_; | 81 CompletionCallback on_done_; |
| 82 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
| 82 std::string refresh_token_; | 83 std::string refresh_token_; |
| 83 std::string access_token_; | 84 std::string access_token_; |
| 84 std::string user_email_; | 85 std::string user_email_; |
| 85 remoting::HostKeyPair key_pair_; | 86 remoting::HostKeyPair key_pair_; |
| 86 std::string host_id_; | 87 std::string host_id_; |
| 87 | 88 |
| 89 base::WeakPtrFactory<HostStarter> weak_ptr_factory_; |
| 90 base::WeakPtr<HostStarter> weak_ptr_; |
| 91 |
| 88 DISALLOW_COPY_AND_ASSIGN(HostStarter); | 92 DISALLOW_COPY_AND_ASSIGN(HostStarter); |
| 89 }; | 93 }; |
| 90 | 94 |
| 91 } // namespace remoting | 95 } // namespace remoting |
| 92 | 96 |
| 93 #endif // REMOTING_HOST_HOST_STARTER | 97 #endif // REMOTING_HOST_HOST_STARTER |
| OLD | NEW |