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

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

Issue 11090063: [Chromoting] Add a simple Windows app that registers and starts a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/setup/host_starter.cc » ('j') | remoting/host/setup/host_starter.cc » ('J')
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"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | remoting/host/setup/host_starter.cc » ('j') | remoting/host/setup/host_starter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698