| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "google_apis/gaia/oauth2_token_service.h" | 13 #include "google_apis/gaia/oauth2_token_service.h" |
| 13 #include "sync/internal_api/public/sync_auth_provider.h" | 14 #include "sync/internal_api/public/sync_auth_provider.h" |
| 14 | 15 |
| 15 class ProfileOAuth2TokenService; | 16 class ProfileOAuth2TokenService; |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
| 19 } // namespace base | 20 } // namespace base |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 scoped_ptr<OAuth2TokenService::Request> access_token_request_; | 63 scoped_ptr<OAuth2TokenService::Request> access_token_request_; |
| 63 syncer::SyncAuthProvider::RequestTokenCallback request_token_callback_; | 64 syncer::SyncAuthProvider::RequestTokenCallback request_token_callback_; |
| 64 scoped_refptr<base::SingleThreadTaskRunner> callback_task_runner_; | 65 scoped_refptr<base::SingleThreadTaskRunner> callback_task_runner_; |
| 65 | 66 |
| 66 base::WeakPtrFactory<ProfileSyncAuthProvider> weak_factory_; | 67 base::WeakPtrFactory<ProfileSyncAuthProvider> weak_factory_; |
| 67 | 68 |
| 68 DISALLOW_COPY_AND_ASSIGN(ProfileSyncAuthProvider); | 69 DISALLOW_COPY_AND_ASSIGN(ProfileSyncAuthProvider); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 #endif // COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ | 72 #endif // COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_ |
| OLD | NEW |