OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "remoting/host/setup/gaia_oauth_client.h" | 5 #include "remoting/host/setup/gaia_oauth_client.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const gaia::OAuthClientInfo& oauth_client_info, | 87 const gaia::OAuthClientInfo& oauth_client_info, |
88 const std::string& auth_code, | 88 const std::string& auth_code, |
89 bool need_user_email, | 89 bool need_user_email, |
90 CompletionCallback on_done) { | 90 CompletionCallback on_done) { |
91 this->oauth_client_info = oauth_client_info; | 91 this->oauth_client_info = oauth_client_info; |
92 this->auth_code = auth_code; | 92 this->auth_code = auth_code; |
93 this->need_user_email = need_user_email; | 93 this->need_user_email = need_user_email; |
94 this->on_done = on_done; | 94 this->on_done = on_done; |
95 } | 95 } |
96 | 96 |
| 97 GaiaOAuthClient::Request::Request(const Request& other) = default; |
| 98 |
97 GaiaOAuthClient::Request::~Request() { | 99 GaiaOAuthClient::Request::~Request() { |
98 } | 100 } |
99 | 101 |
100 } // namespace remoting | 102 } // namespace remoting |
OLD | NEW |