| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "blimp/client/support/session/blimp_default_identity_provider.h" |
| 6 |
| 7 #include "google_apis/gaia/oauth2_token_service.h" |
| 8 |
| 9 namespace blimp { |
| 10 namespace client { |
| 11 |
| 12 namespace { |
| 13 constexpr char kDummyAccountId[] = "DummyAccountId"; |
| 14 } // namespace |
| 15 |
| 16 BlimpDefaultIdentityProvider::BlimpDefaultIdentityProvider() = default; |
| 17 |
| 18 BlimpDefaultIdentityProvider::~BlimpDefaultIdentityProvider() = default; |
| 19 |
| 20 std::string BlimpDefaultIdentityProvider::GetActiveUsername() { |
| 21 return kDummyAccountId; |
| 22 } |
| 23 |
| 24 std::string BlimpDefaultIdentityProvider::GetActiveAccountId() { |
| 25 return kDummyAccountId; |
| 26 } |
| 27 |
| 28 OAuth2TokenService* BlimpDefaultIdentityProvider::GetTokenService() { |
| 29 return nullptr; |
| 30 } |
| 31 |
| 32 bool BlimpDefaultIdentityProvider::RequestLogin() { |
| 33 return false; |
| 34 } |
| 35 |
| 36 } // namespace client |
| 37 } // namespace blimp |
| OLD | NEW |