| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "base/profiler/scoped_tracker.h" | 5 #include "base/profiler/scoped_tracker.h" |
| 6 #include "google_apis/gaia/oauth2_token_service.h" | 6 #include "google_apis/gaia/oauth2_token_service.h" |
| 7 #include "google_apis/gaia/oauth2_token_service_delegate.h" | 7 #include "google_apis/gaia/oauth2_token_service_delegate.h" |
| 8 | 8 |
| 9 OAuth2TokenServiceDelegate::ScopedBatchChange::ScopedBatchChange( | 9 OAuth2TokenServiceDelegate::ScopedBatchChange::ScopedBatchChange( |
| 10 OAuth2TokenServiceDelegate* delegate) | 10 OAuth2TokenServiceDelegate* delegate) |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 FOR_EACH_OBSERVER(OAuth2TokenService::Observer, observer_list_, | 89 FOR_EACH_OBSERVER(OAuth2TokenService::Observer, observer_list_, |
| 90 OnRefreshTokensLoaded()); | 90 OnRefreshTokensLoaded()); |
| 91 } | 91 } |
| 92 | 92 |
| 93 net::URLRequestContextGetter* OAuth2TokenServiceDelegate::GetRequestContext() | 93 net::URLRequestContextGetter* OAuth2TokenServiceDelegate::GetRequestContext() |
| 94 const { | 94 const { |
| 95 return nullptr; | 95 return nullptr; |
| 96 } | 96 } |
| 97 | 97 |
| 98 bool OAuth2TokenServiceDelegate::RefreshTokenHasError( |
| 99 const std::string& account_id) const { |
| 100 return false; |
| 101 } |
| 102 |
| 98 std::vector<std::string> OAuth2TokenServiceDelegate::GetAccounts() { | 103 std::vector<std::string> OAuth2TokenServiceDelegate::GetAccounts() { |
| 99 return std::vector<std::string>(); | 104 return std::vector<std::string>(); |
| 100 } | 105 } |
| OLD | NEW |