| 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 #ifndef REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ | 5 #ifndef REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ |
| 6 #define REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ | 6 #define REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 11 #include "google_apis/gaia/gaia_oauth_client.h" | 12 #include "google_apis/gaia/gaia_oauth_client.h" |
| 12 #include "net/url_request/url_request_context_getter.h" | 13 #include "net/url_request/url_request_context_getter.h" |
| 13 | 14 |
| 14 #include "remoting/host/setup/oauth_client.h" | 15 #include "remoting/host/setup/oauth_client.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 class URLRequestContext; | 18 class URLRequestContext; |
| 18 } | 19 } |
| 19 | 20 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 std::string refresh_token_; | 75 std::string refresh_token_; |
| 75 bool need_user_email_; | 76 bool need_user_email_; |
| 76 CompletionCallback on_done_; | 77 CompletionCallback on_done_; |
| 77 | 78 |
| 78 DISALLOW_COPY_AND_ASSIGN(GaiaOAuthClient); | 79 DISALLOW_COPY_AND_ASSIGN(GaiaOAuthClient); |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 } // namespace remoting | 82 } // namespace remoting |
| 82 | 83 |
| 83 #endif // REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ | 84 #endif // REMOTING_HOST_SETUP_GAIA_OAUTH_CLIENT_H_ |
| OLD | NEW |